Python integration
import python-genai # Use an OAuth2 access token client = python_genai.Client(access_token="YOUR_ACCESS_TOKEN")
curl \ -H "Authorization: Bearer $ACCESS_TOKEN" \ https://www.googleapis.com/webmasters/v3/sites
curl \
-H "Authorization: Bearer $ACCESS_TOKEN" \
https://www.googleapis.com/webmasters/v3/sites/{siteUrl}curl \
-H "Authorization: Bearer $ACCESS_TOKEN" \
https://www.googleapis.com/webmasters/v3/sites/{siteUrl}/sitemaps