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")
A convenience method that provides all the features that analyzeSentiment, an…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://language.googleapis.com/v1beta1/documents:annotateText
Analyzes the syntax of the text and provides sentence boundaries and tokeniza…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://language.googleapis.com/v1beta1/documents:analyzeSyntax
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:language
At a glance
Language Go
Endpoints4
Base URLhttps://language.googleapis.com
✓ Official