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_API_KEY")
Retrieve the list of APIs supported at this endpoint.
curl \
  https://www.googleapis.com/discovery/v1/apis
Retrieve the description of a particular version of an api.
curl \
  https://www.googleapis.com/discovery/v1/apis/{api}/{version}/rest
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:discovery
At a glance
Language Go
Endpoints2
Base URLhttps://www.googleapis.com/discovery/v1
✓ Official