A Python client for the Google Analytics Data API v1 (beta). Version 0.6.6, released periodically.
pip install ga-api-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize client and run a simple active users report.
Replace `client = GAAPIClient(credentials=...)` with `client = GAAPIClient(service_account_file='path/to/key.json')`.
Use `dimension_filter` instead of `dimension_filters` in `run_report()`.
Ensure `property_id` is a plain numeric string like '123456789'.
Reinitialize the client or implement a token refresh mechanism using google-auth's `RefreshToken`.