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" });
Exchanges a credential for a Google OAuth 2.0 access token. The token asserts…
curl \
  https://sts.googleapis.com/v1beta/token
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:sts
At a glance
Language TypeScript
Endpoints1
Base URLhttps://sts.googleapis.com
✓ Official