This repository is collection of the decoded GAME_MASTER-protobuf files
If you want to have the latest GAME_MASTER version simply execute the following shell command. This downloads the latest GAME_MASTER.json file of this repository.
wget https://raw.githubusercontent.com/pokemongo-dev-contrib/pokemongo-game-master/master/versions/latest/V2_GAME_MASTER.json
Make sure you install the package by running npm i pokemongo-game-master
.
Simply request the versions in the formats protobuf
or json
inside your code.
Behind the scenes it will fetch the data from this repository and returns
the value in a promise.
const gameMaster = require('pokemongo-game-master');
gameMaster.getVersion('latest', 'json').then(console.log); // Returns as object: { itemTemplates: [ ... ], timestampMs: '1512514949791' }
Community day JSON files are found in the special folder. They contain the moves that were available on that particular community day
The contrib file is for 3rd party generated json files. Currently historical Pokebattler json files can be found there