Using python-genai with googleapis.com

Python integration

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

# Use an OAuth2 access token
client = python_genai.Client(access_token="YOUR_ACCESS_TOKEN")
Shut down. See https://developers.google.com/+/api-shutdown for more details.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://www.googleapis.com/plus/v1/people
Shut down. See https://developers.google.com/+/api-shutdown for more details.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://www.googleapis.com/plus/v1/activities
Get a person's profile. If your app uses scope https://www.googleapis.com/aut…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://www.googleapis.com/plus/v1/people/{userId}
SDK on GitHub 📄 API Docs
SDK
python-genai
Python
API
googleapis.com
googleapis.com:plus
At a glance
Language Python
Endpoints9
Base URLhttps://www.googleapis.com/plus/v1
✓ Official