Using go-genai with googleapis.com

Go integration

✓ Official SDK
Install
go get github.com/googleapis/go-genai
Quick start
import "go-genai"

// Initialize client
client := go-genai.NewClient("YOUR_ACCESS_TOKEN")
Retrieve an Oidc Idp configuration for an Identity Toolkit project.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://identitytoolkit.googleapis.com/v2/{name}
Gets parameters needed for reCAPTCHA analysis.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://identitytoolkit.googleapis.com/v2/recaptchaConfig
List tenants under the given agent project. Requires read permission on the A…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://identitytoolkit.googleapis.com/v2/{parent}/tenants
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:identitytoolkit
At a glance
Language Go
Endpoints27
Base URLhttps://identitytoolkit.googleapis.com
✓ Official