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")
Lists the Safe Browsing threat lists available for download.
curl \
  https://safebrowsing.googleapis.com/v4/threatLists
curl \
  https://safebrowsing.googleapis.com/v4/encodedUpdates/{encodedRequest}
curl \
  https://safebrowsing.googleapis.com/v4/encodedFullHashes/{encodedRequest}
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:safebrowsing
At a glance
Language Go
Endpoints7
Base URLhttps://safebrowsing.googleapis.com
✓ Official