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_API_KEY")
Used by partners to get a subscription by id. It should be called directly by…
curl \
  https://paymentsresellersubscription.googleapis.com/v1/{name}
To retrieve the products that can be resold by the partner. It should be aute…
curl \
  https://paymentsresellersubscription.googleapis.com/v1/{parent}/products
To retrieve the promotions, such as free trial, that can be used by the partn…
curl \
  https://paymentsresellersubscription.googleapis.com/v1/{parent}/promotions
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:paymentsresellersubscription
At a glance
Language Go
Endpoints10
Base URLhttps://paymentsresellersubscription.googleapis.com
✓ Official