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" });
Gets the requested recommendation. Requires the recommender.*.get IAM permiss…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://recommender.googleapis.com/v1beta1/{name}
Lists insights for the specified Cloud Resource. Requires the recommender.*.l…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://recommender.googleapis.com/v1beta1/{parent}/insights
Lists recommendations for the specified Cloud Resource. Requires the recommen…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://recommender.googleapis.com/v1beta1/{parent}/recommendations
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:recommender
At a glance
Language TypeScript
Endpoints9
Base URLhttps://recommender.googleapis.com
✓ Official