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" });
List labels.
curl \
  https://drivelabels.googleapis.com/v2beta/labels
Gets the user capabilities.
curl \
  https://drivelabels.googleapis.com/v2beta/{name}
Get the constraints on the structure of a Label; such as, the maximum number …
curl \
  https://drivelabels.googleapis.com/v2beta/limits/label
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:drivelabels
At a glance
Language TypeScript
Endpoints16
Base URLhttps://drivelabels.googleapis.com
✓ Official