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" });
Returns list of channels that are available for a given platform.
curl \
  https://versionhistory.googleapis.com/v1/{parent}/channels
Returns list of releases of the given version.
curl \
  https://versionhistory.googleapis.com/v1/{parent}/releases
Returns list of version for the given platform/channel.
curl \
  https://versionhistory.googleapis.com/v1/{parent}/versions
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:versionhistory
At a glance
Language TypeScript
Endpoints4
Base URLhttps://versionhistory.googleapis.com
✓ Official