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://www.googleapis.com/webmasters/v3/sites
Retrieves information about specific site.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://www.googleapis.com/webmasters/v3/sites/{siteUrl}
Lists the sitemaps-entries submitted for this site, or included in the sitema…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://www.googleapis.com/webmasters/v3/sites/{siteUrl}/sitemaps
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:webmasters
At a glance
Language TypeScript
Endpoints9
Base URLhttps://www.googleapis.com/webmasters/v3
✓ Official