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 information about the authenticated user.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://shoppingcontent.googleapis.com/content/v2.1/accounts/authinfo
Lists CSS domains affiliated with a CSS group.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://shoppingcontent.googleapis.com/content/v2.1/{cssGroupId}/csses
Lists the orders in your Merchant Center account.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/orders
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:content
At a glance
Language Go
Endpoints175
Base URLhttps://shoppingcontent.googleapis.com/content/v2.1
✓ Official