
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
.. image:: https://travis-ci.org/ambitioninc/gagrab.png :target: https://travis-ci.org/ambitioninc/gagrab
.. image:: https://coveralls.io/repos/ambitioninc/gagrab/badge.png?branch=develop :target: https://coveralls.io/r/ambitioninc/gagrab?branch=develop .. image:: https://pypip.in/v/gagrab/badge.png :target: https://crate.io/packages/gagrab/ :alt: Latest PyPI version
.. image:: https://pypip.in/d/gagrab/badge.png :target: https://crate.io/packages/gagrab/ :alt: Number of PyPI downloads
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.
.. code-block:: python
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(
view='UA-000000-1',
metrics=['sessions', 'pageviews'],
dimensions=['browser', 'userAgeBracket']
start_date='2014-07-01',
end_date='2014-08-15',
)
To install the latest release, type::
pip install gagrab
To install the latest code directly from source, type::
pip install git+git://github.com/ambitioninc/gagrab.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
https://github.com/ambitioninc/gclient-service-account-auth
.
Full documentation is available at http://gagrab.readthedocs.org
MIT License (see LICENSE)
FAQs
When want to grab your data from Google Analytics: gagrab it.
We found that gagrab demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.