NEWBIE : How to access timephased data from mpp


Hi, How can we access Timephase data through the api available. The timephase data i want is the daily hours allocated to any resource in MPP. The data can be seen in MPP in resource sheet view in detail section. PLease help me out. Urgent help needed.