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 latest state of a long-running operation. Clients can use this metho…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://webrisk.googleapis.com/v1/{name}
This method is used to check whether a URI is on a given threatList. Multiple…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://webrisk.googleapis.com/v1/uris:search
Gets the full hashes that match the requested hash prefix. This is used after…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://webrisk.googleapis.com/v1/hashes:search
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:webrisk
At a glance
Language TypeScript
Endpoints8
Base URLhttps://webrisk.googleapis.com
✓ Official