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")
Get account reports containing aggregate account data of all linked GLS accou…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://localservices.googleapis.com/v1/accountReports:search
Get detailed lead reports containing leads that have been received by all lin…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://localservices.googleapis.com/v1/detailedLeadReports:search
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:localservices
At a glance
Language Go
Endpoints2
Base URLhttps://localservices.googleapis.com
✓ Official