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")
List all contact groups owned by the authenticated user. Members of the conta…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://people.googleapis.com/v1/contactGroups
List all "Other contacts", that is contacts that are not in a contact group. …
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://people.googleapis.com/v1/otherContacts
Provides information about a person by specifying a resource name. Use `peopl…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://people.googleapis.com/v1/{resourceName}
SDK on GitHub 📄 API Docs
SDK
python-genai
Python
API
googleapis.com
googleapis.com:people
At a glance
Language Python
Endpoints23
Base URLhttps://people.googleapis.com
✓ Official