python-googleanalytics
python-googleanalytics copied to clipboard
A python client for accessing the Google Analytics API
There are small typos in: - INSTALL.md - src/googleanalytics/account.py Fixes: - Should read `recommend` rather than `reccomend`. - Should read `precedence` rather than `precendence`. Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md
Original code were not working anymore. This will fix it.
Hi, when i try to connect with following code it raises "GoogleAnalyticsClientError" GAError: HTTP Error 404: Not Found code sample connection = Connection('[email protected]', 'password') account = connection.get_account('12345678')
The URLs in DataSet.**init**() are out of date: ``` self.totalResults = int(xml_tree.find('{http://a9.com/-/spec/opensearchrss/1.0/}totalResults').text) self.startIndex = int(xml_tree.find('{http://a9.com/-/spec/opensearchrss/1.0/}startIndex').text) self.itemsPerPage = int(xml_tree.find('{http://a9.com/-/spec/opensearchrss/1.0/}itemsPerPage').text) ``` need to be changed to: ``` self.totalResults = int(xml_tree.find('{http://a9.com/-/spec/opensearch/1.1/}totalResults').text) # updated...
Is it possible to retrieve metrics without supplying a dimension? Specifically, I'm trying to get the total number of visitors for an amount of time. Google's documentation seems to say...
few days ago,i tried python-googleanalytics,and it worked very well and i excited much.but today,i get a 400 error with the same account and profile. this : Python 2.6.4 (r264:75708, Oct...
Hello, Here's a sample query I'm running: today = datetime.today() start_date = (today - timedelta(days=2)) data = account.get_data(start_date=start_date, end_date=today, dimensions=['pageTitle', 'pagePath'], metrics=['pageviews', 'timeOnPage', 'entrances'], max_results=1) When I: print data.aggregates, I...