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" });
Lists the user's Search Console sites.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://searchconsole.googleapis.com/webmasters/v3/sites
Retrieves information about specific site.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://searchconsole.googleapis.com/webmasters/v3/sites/{siteUrl}
Lists the [sitemaps-entries](/webmaster-tools/v3/sitemaps) submitted for this…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://searchconsole.googleapis.com/webmasters/v3/sites/{siteUrl}/sitemaps
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:searchconsole
At a glance
Language TypeScript
Endpoints11
Base URLhttps://searchconsole.googleapis.com
✓ Official