Using python-storage with googleapis.com

Python integration

✓ Official SDK
Install
pip install python-storage
Quick start
import python-storage

# Use an OAuth2 access token
client = python_storage.Client(access_token="YOUR_ACCESS_TOKEN")
Lookup for a single "GA4" MeasurementProtocolSecret.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://analyticsadmin.googleapis.com/v1beta/{name}
Returns all accounts accessible by the caller. Note that these accounts might…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://analyticsadmin.googleapis.com/v1beta/accounts
Returns child Properties under the specified parent Account. Only "GA4" prope…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://analyticsadmin.googleapis.com/v1beta/properties
SDK on GitHub 📄 API Docs
SDK
python-storage
Python
API
googleapis.com
googleapis.com:analyticsadmin
At a glance
Language Python
Endpoints26
Base URLhttps://analyticsadmin.googleapis.com
✓ Official