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" });
List the `ClaimReview` markup pages for a specific URL or for an organization.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://factchecktools.googleapis.com/v1alpha1/pages
Get all `ClaimReview` markup on a page.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://factchecktools.googleapis.com/v1alpha1/{name}
Search through fact-checked claims.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://factchecktools.googleapis.com/v1alpha1/claims:search
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:factchecktools
At a glance
Language TypeScript
Endpoints6
Base URLhttps://factchecktools.googleapis.com
✓ Official