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" });
Returns engagement and spend statistics in this application for the currently…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://games.googleapis.com/games/v1/stats
Returns a list showing the current progress on events in this application for…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://games.googleapis.com/games/v1/events
Lists all the achievement definitions for your application.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://games.googleapis.com/games/v1/achievements
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:games
At a glance
Language TypeScript
Endpoints31
Base URLhttps://games.googleapis.com
✓ Official