Using python-genai with google.home

Python integration

Install
pip install python-genai
Quick start
import python-genai

# Set your API key
client = python_genai.Client(api_key="YOUR_API_KEY")
Offer
curl \
  -H "cast-local-authorization-token: $API_KEY" \
  http://example.com/setup/offer
Chromecast Icon
curl \
  -H "cast-local-authorization-token: $API_KEY" \
  http://example.com/setup/icon.png
Eureka Info
curl \
  -H "cast-local-authorization-token: $API_KEY" \
  http://example.com/setup/eureka_info
SDK on GitHub 📄 API Docs
SDK
python-genai
Python
API
google.home
google.home
At a glance
Language Python
Endpoints30
Base URLhttp://example.com/setup