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" });
Lists all projects to which you have been granted any project role.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://bigquery.googleapis.com/bigquery/v2/projects
Lists all jobs that you started in the specified project. Job information is …
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://bigquery.googleapis.com/bigquery/v2/projects/{projectId}/jobs
Lists all datasets in the specified project to which you have been granted th…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://bigquery.googleapis.com/bigquery/v2/projects/{projectId}/datasets
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:bigquery
At a glance
Language TypeScript
Endpoints36
Base URLhttps://bigquery.googleapis.com/bigquery/v2
✓ Official