skip to navigation
skip to content

Not Logged In

gagrab 0.2.0

When want to grab your data from Google Analytics: gagrab it.


The official Google Analytics API is very powerfull and extensive. Sometimes, though, you just want to grab some data and have it returned in a clean format.

from service_account_auth import AuthorizedService
from gagrab import Grabber

my_ga_service = AuthorizedService('my-project-555', 'analytics', 'v3')
grabber = Grabber(my_ga_service)

data = grabber.query(
    metrics=['sessions', 'pageviews'],
    dimensions=['browser', 'userAgeBracket']


To install the latest release, type:

pip install gagrab

To install the latest code directly from source, type:

pip install git+git://

The gagrab.Grabber object requires a service_account_auth.AuthorizedService object during initialization. Installation and setup instructions for gclient-service-account-auth can be found on the github page


Full documentation is available at


MIT License (see LICENSE)

File Type Py Version Uploaded on Size
gagrab-0.2.0.tar.gz (md5) Source 2014-08-15 6KB
  • Downloads (All Versions):
  • 1 downloads in the last day
  • 40 downloads in the last week
  • 163 downloads in the last month