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" });
Returns a list of courses that the requesting user is permitted to view, rest…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://classroom.googleapis.com/v1/courses
Returns a list of invitations that the requesting user is permitted to view, …
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://classroom.googleapis.com/v1/invitations
Returns a course. This method returns the following error codes: * `PERMISSIO…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://classroom.googleapis.com/v1/courses/{id}
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:classroom
At a glance
Language TypeScript
Endpoints61
Base URLhttps://classroom.googleapis.com
✓ Official