Reporting API: Request Past Months Daily stats

Greetings people. So this is my problem.
I need to get a graph that shows the bounce rate and visits at my pages but for every previous month. So every 1st of every month the graph will show 28-30 or 31 days of data of the previous month. Is there a way to do this? I cant figure out a way to do this with the parameters given (&period and &day).