Hi!
I'm currently building a library around the Google Analytics Data Export API.
When i'm requesting data for a specific profile, this is the response from Google:
<entry>
<id>http://www.google.com/analytics/feeds/data?ids=ga:3104565&amp;ga:browser=Firefox&amp;start-date=2008-07-10&amp;end-date=2008-08-10</id>
<updated>2008-08-09T17:00:00.001-07:00</updated>
<title type='text'>ga:browser=Firefox</title>
<link rel='alternate' type='text/html' href='http://www.google.com/analytics'/>
<dxp:dimension name='ga:browser' value='Firefox'/>
<dxp:metric confidenceInterval='0.0' name='ga:pageviews' type='integer' value='17547'/>
</entry>
What would be the most logic to return? How would you want to work with the returned data? I have a Entry-object with all the above elements.
The signature for the method is:
public object GetProfileData(int profileId, IEnumerable<Metric> metrics, IEnumerable<Dimension> dimensions, DateTime start, DateTime stop)
Where Metric and Dimension is Enums.
Well, this is actually language agnostic.
If you need any more details, don't hesitate to comment.