Skip to main content

Google Analytics Data API client library

Project description

preview pypi versions

Analytics Data API: provides programmatic methods to access report data in Google Analytics App+Web properties.

Quick Start

In order to use this library, you first need to go through the following steps:

  1. Select or create a Cloud Platform project.

  2. Enable billing for your project.

  3. Enable the Analytics Data API.

  4. Setup Authentication.

Installation

Install this library in a virtual environment using venv. venv is a tool that creates isolated Python environments. These isolated environments can have separate versions of Python packages, which allows you to isolate one project’s dependencies from the dependencies of other projects.

With venv, it’s possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.

Code samples and snippets

Code samples and snippets live in the samples/ folder.

Supported Python Versions

Our client libraries are compatible with all current active and maintenance versions of Python.

Python >= 3.7

Unsupported Python Versions

Python <= 3.6

If you are using an end-of-life version of Python, we recommend that you update as soon as possible to an actively supported version.

Mac/Linux

python3 -m venv <your-env>
source <your-env>/bin/activate
pip install google-analytics-data

Windows

py -m venv <your-env>
.\<your-env>\Scripts\activate
pip install google-analytics-data

Next Steps

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

google-analytics-data-0.17.1.tar.gz (120.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

google_analytics_data-0.17.1-py2.py3-none-any.whl (127.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file google-analytics-data-0.17.1.tar.gz.

File metadata

  • Download URL: google-analytics-data-0.17.1.tar.gz
  • Upload date:
  • Size: 120.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for google-analytics-data-0.17.1.tar.gz
Algorithm Hash digest
SHA256 28520c301a009806e6713887bb2b85c45d6e2d7d1c03f2ec9e0a9fd86559e112
MD5 d35e8a188ca45a6c9cd38a0ca7875079
BLAKE2b-256 a94f7636696096a360d09f1c883c30a5f13b88a103cea084cfa984fe26bf20bf

See more details on using hashes here.

File details

Details for the file google_analytics_data-0.17.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for google_analytics_data-0.17.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8cb5551197806bf0ea2eaefcfb2879253c947b88db7f4471f31e8e734f6d7e97
MD5 dc745630fb23fab6b7fb87d2da5fd2d4
BLAKE2b-256 bc05efb4f298c82afc7e0c5caf55004ac86d128965ca686017c206d2b7310775

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page