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 the Safe Browsing threat lists available for download.
curl \
  https://safebrowsing.googleapis.com/v4/threatLists
curl \
  https://safebrowsing.googleapis.com/v4/encodedUpdates/{encodedRequest}
curl \
  https://safebrowsing.googleapis.com/v4/encodedFullHashes/{encodedRequest}
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:safebrowsing
At a glance
Language TypeScript
Endpoints7
Base URLhttps://safebrowsing.googleapis.com
✓ Official