pokemongo-game-master
TypeScript icon, indicating that this package has built-in type declarations

2.1.2 • Public • Published

# pokemongo-game-master

Build Status

Online Users in pokemongo-game-master Discord Server

This repository is collection of the decoded GAME_MASTER-protobuf files

Getting Started

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/GAME_MASTER.json
 

NodeJS

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' }
gameMaster.getVersion('0.83.3', 'protobuf').then(console.log); // Returns the version 0.83.3 as string
 

Community Day JSON files

Community day JSON files are found in the special folder. They contain the moves that were available on that particular community day

Contrib

The contrib file is for 3rd party generated json files. Currently historical Pokebattler json files can be found there

Readme

Keywords

Package Sidebar

Install

npm i pokemongo-game-master

Weekly Downloads

2

Version

2.1.2

License

MIT

Unpacked Size

12.8 kB

Total Files

11

Last publish

Collaborators

  • brunnerlivio