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" });
Retrieves a list of buckets for a given project.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://storage.googleapis.com/storage/v1/b
Returns metadata for the specified bucket.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://storage.googleapis.com/storage/v1/b/{bucket}
Retrieves a list of objects matching the criteria.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://storage.googleapis.com/storage/v1/b/{bucket}/o
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:storage
At a glance
Language TypeScript
Endpoints52
Base URLhttps://storage.googleapis.com/storage/v1
✓ Official