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" });
Retrieves the metadata of the achievement configuration with the given ID.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://gamesconfiguration.googleapis.com/games/v1configuration/achievements/{achievementId}
Retrieves the metadata of the leaderboard configuration with the given ID.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://gamesconfiguration.googleapis.com/games/v1configuration/leaderboards/{leaderboardId}
Returns a list of the achievement configurations in this application.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://gamesconfiguration.googleapis.com/games/v1configuration/applications/{applicationId}/achievements
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:gamesConfiguration

At a glance

Language TypeScript
Endpoints10
Base URLhttps://gamesconfiguration.googleapis.com
✓ Official