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")
Returns the spreadsheet at the given ID. The caller must specify the spreadsh…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}
Returns a range of values from a spreadsheet. The caller must specify the spr…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}/values/{range}
Returns one or more ranges of values from a spreadsheet. The caller must spec…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}/values:batchGet
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:sheets
At a glance
Language Go
Endpoints17
Base URLhttps://sheets.googleapis.com
✓ Official