This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

gaclient is a small library that implements an easy to use API for consuming Google Analytics APIs.

Assuming you have already obtained a refresh token from the user, retrieving metrics is as simple as:

>>> import gaclient
>>> session = gaclient.build_session(CLIENT_ID, CLIENT_SECRET,
    {'refresh_token': REFRESH_TOKEN})
>>> it = gaclient.Cursor(session, PROFILE_ID,
    '2012-01-01', '2012-01-01', ['visits'], ['date'])
>>> list(it)
[{'visits': 12345, 'date': datetime.date(2012, 1, 1)}]

For complete step-by-step guide on how to obtain a user’s consent please refer to the User Guide.

Features

  • Transparently queries Google Analytics for additional results if any are available;
  • Selecting any valid combination of dimensions and metrics;
  • Server-side filtering;
  • Server-side sorting;
  • Data is returned in native Python types, parsed and ready for you consumption.

For more information check out the gaclient documentation.

Release History

Release History

0.3b2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3b1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
gaclient-0.3b2.tar.gz (10.0 kB) Copy SHA256 Checksum SHA256 Source Oct 28, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting