Using python-genai with googleapis.com

Python integration

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

client = python_genai.Client("YOUR_API_KEY")
Exchanges a credential for a Google OAuth 2.0 access token. The token asserts…
curl \
  https://sts.googleapis.com/v1beta/token
SDK on GitHub 📄 API Docs
SDK
python-genai
Python
API
googleapis.com
googleapis.com:sts
At a glance
Language Python
Endpoints1
Base URLhttps://sts.googleapis.com
✓ Official