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" });
Get a form.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://forms.googleapis.com/v1/forms/{formId}
Return a list of the watches owned by the invoking project. The maximum numbe…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://forms.googleapis.com/v1/forms/{formId}/watches
List a form's responses.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://forms.googleapis.com/v1/forms/{formId}/responses
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:forms

At a glance

Language TypeScript
Endpoints9
Base URLhttps://forms.googleapis.com
✓ Official