Using js-genai with googleapis.com

TypeScript integration

✓ Official SDK
Install
npm install js-genai
Quick start
import Js_genai from 'js-genai';

const client = new Js_genai({ apiKey: "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
js-genai
TypeScript
API
googleapis.com
googleapis.com:paymentsresellersubscription
At a glance
Language TypeScript
Endpoints10
Base URLhttps://paymentsresellersubscription.googleapis.com
✓ Official