Repository navigation
v2.0.0
Recommended: install from npm with
npm install -g game-pass-api(or run it directly withnpx game-pass-api) to always get the latest version. See the README for all options.
What's Changed
- Turn the raw CLI tool into an NPM package (#16)
- Harden API error handling and guard value extractors against missing fields (#14)
Using the release asset
To run this version offline, download the attached Game.Pass.API.zip, unzip it, and from inside the folder run:
npm ci # install dependencies from the bundled lockfile
node bin/cli.js init # create a config.json interactively (or add one yourself)
node bin/cli.js # fetch Game Pass data using ./config.jsonRequires Node.js 22.13 or newer. Run node bin/cli.js --help for all commands.