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" });
Looks up all the attributes set for a given location.
curl \
  https://mybusinessbusinessinformation.googleapis.com/v1/{name}
Returns the list of attributes that would be available for a location with th…
curl \
  https://mybusinessbusinessinformation.googleapis.com/v1/attributes
Returns a list of business categories. Search will match the category name bu…
curl \
  https://mybusinessbusinessinformation.googleapis.com/v1/categories
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:mybusinessbusinessinformation
At a glance
Language TypeScript
Endpoints13
Base URLhttps://mybusinessbusinessinformation.googleapis.com
✓ Official