TypeScript integration
import Js_genai from 'js-genai'; const client = new Js_genai({ accessToken: "YOUR_ACCESS_TOKEN" });
curl \
-H "Authorization: Bearer $ACCESS_TOKEN" \
https://gamesconfiguration.googleapis.com/games/v1configuration/achievements/{achievementId}curl \
-H "Authorization: Bearer $ACCESS_TOKEN" \
https://gamesconfiguration.googleapis.com/games/v1configuration/leaderboards/{leaderboardId}curl \
-H "Authorization: Bearer $ACCESS_TOKEN" \
https://gamesconfiguration.googleapis.com/games/v1configuration/applications/{applicationId}/achievements