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 all contact groups owned by the authenticated user. Members of the conta…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://people.googleapis.com/v1/contactGroups
List all "Other contacts", that is contacts that are not in a contact group. …
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://people.googleapis.com/v1/otherContacts
Provides information about a person by specifying a resource name. Use `peopl…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://people.googleapis.com/v1/{resourceName}
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:people
At a glance
Language TypeScript
Endpoints23
Base URLhttps://people.googleapis.com
✓ Official