问题
I am working on a function that gets data from the Google Analytics API. For parsing and reading this data, I am using the GAPI class from here. GAPI from Google Code
How can I set a timerange there?
回答1:
You need to populate the $start_date and $end_date fields
See here: [1]: http://code.google.com/p/gapi-google-analytics-php-interface/wiki/GAPIDocumentation
来源:https://stackoverflow.com/questions/5344527/set-date-range-in-gapi-class-for-analytics