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 the specified version that has been created for the specified site. This …
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://firebasehosting.googleapis.com/v1beta1/{name}
Lists the remaining files to be uploaded for the specified version.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://firebasehosting.googleapis.com/v1beta1/{parent}/files
Lists each Hosting Site associated with the specified parent Firebase project.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://firebasehosting.googleapis.com/v1beta1/{parent}/sites
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:firebasehosting
At a glance
Language TypeScript
Endpoints17
Base URLhttps://firebasehosting.googleapis.com
✓ Official