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")
Gets the latest state of a long-running operation. Clients can use this metho…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://webrisk.googleapis.com/v1/{name}
This method is used to check whether a URI is on a given threatList. Multiple…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://webrisk.googleapis.com/v1/uris:search
Gets the full hashes that match the requested hash prefix. This is used after…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://webrisk.googleapis.com/v1/hashes:search
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:webrisk
At a glance
Language Go
Endpoints8
Base URLhttps://webrisk.googleapis.com
✓ Official