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/accounts/authinfo
Lists the orders in your Merchant Center account.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://shoppingcontent.googleapis.com/content/v2/{merchantId}/orders
Lists the sub-accounts in your Merchant Center account.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://shoppingcontent.googleapis.com/content/v2/{merchantId}/accounts
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:shoppingcontent
At a glance
Language Go
Endpoints86
Base URLhttps://shoppingcontent.googleapis.com/content/v2
✓ Official