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")
Returns metadata about the search performed, metadata about the engine used f…
curl \
  https://customsearch.googleapis.com/customsearch/v1
Returns metadata about the search performed, metadata about the engine used f…
curl \
  https://customsearch.googleapis.com/customsearch/v1/siterestrict
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:customsearch
At a glance
Language Go
Endpoints2
Base URLhttps://customsearch.googleapis.com
✓ Official