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({ accessToken: "YOUR_ACCESS_TOKEN" });
List information about processes made by or on behalf of a user, such as proc…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://script.googleapis.com/v1/processes
Gets a script project's metadata.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://script.googleapis.com/v1/projects/{scriptId}
Gets the content of the script project, including the code source and metadat…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://script.googleapis.com/v1/projects/{scriptId}/content
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:script
At a glance
Language TypeScript
Endpoints16
Base URLhttps://script.googleapis.com
✓ Official