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")
Runs PageSpeed analysis on the page at the specified URL, and returns PageSpe…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://pagespeedonline.googleapis.com/pagespeedonline/v5/runPagespeed
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:pagespeedonline
At a glance
Language Go
Endpoints1
Base URLhttps://pagespeedonline.googleapis.com
✓ Official