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" });
Retrieve the list of APIs supported at this endpoint.
curl \
  https://www.googleapis.com/discovery/v1/apis
Retrieve the description of a particular version of an api.
curl \
  https://www.googleapis.com/discovery/v1/apis/{api}/{version}/rest
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:discovery

At a glance

Language TypeScript
Endpoints2
Base URLhttps://www.googleapis.com/discovery/v1
✓ Official