What problem does it solve?
This Skill streamlines the process of integrating and using Google Analytics with managed OAuth, simplifying account management, data reporting, and connection management.
Core Features & Use Cases
- Admin API and Data API Integration: Manages accounts, properties, and data streams using the Admin API, while also providing read-only reporting through the Data API.
- OAuth Authentication: Offers secure OAuth authentication for Google Analytics access.
- Connection Management: Manages and specifies which connection to use for Admin API and Data API requests.
- Use Case: Ideal for users who need to regularly check analytics data and perform administrative tasks on their Google Analytics accounts.
Quick Start
To get started, set your environment variable MATON_API_KEY with your API key and run the script to list account summaries from the Admin API:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/google-analytics-admin/v1beta/accountSummaries')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF