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")
Lists spaces the caller is a member of. Requires [authentication](https://dev…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://chat.googleapis.com/v1/spaces
Gets the metadata of a message attachment. The attachment data is fetched usi…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://chat.googleapis.com/v1/{name}
Lists memberships in a space. Requires [authentication](https://developers.go…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://chat.googleapis.com/v1/{parent}/members
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:chat
At a glance
Language Go
Endpoints8
Base URLhttps://chat.googleapis.com
✓ Official