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({ apiKey: "YOUR_API_KEY" });
Lists all public, remixable assets. These are assets with an access level of …
curl \
  https://poly.googleapis.com/v1/assets
Returns detailed information about an asset given its name. PRIVATE assets ar…
curl \
  https://poly.googleapis.com/v1/{name}
Lists assets authored by the given user. Only the value 'me', representing th…
curl \
  https://poly.googleapis.com/v1/{name}/assets
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:poly

At a glance

Language TypeScript
Endpoints4
Base URLhttps://poly.googleapis.com
✓ Official