Skip to content

Transform the data from the Pokemon GO master files to a better readable & processable JSON file.

License

Notifications You must be signed in to change notification settings

broglep/pokemongo-json-pokedex

 
 

Repository files navigation

pokemongo-json-pokedex

CircleCI Online Users in pokemongo-json-pokedex Discord Server

This program transforms the data from the Pokemon GO master files to a better readable & processable JSON file.

Philosophy

Purpose

As a developer it can be in certain situation quite annoying depend on the raw GAME MASTER files. Not only are some informations quite hidden and must be parsed, the structure of the GAME MASTER files can change after every version. pokemongo-json-pokedex parses the GAME MASTER data and tries to maintain the same structure, even when the structure of the source files changed completely.

Getting Started

With NPM

You can install it with npm install pokemongo-json-pokedex. Make sure you have a least Node 8.x.x running on your machine.

const pokemon = require('pokemongo-json-pokedex/output/pokemon.json');
const move = require('pokemongo-json-pokedex/output/move.json');
const type = require('pokemongo-json-pokedex/output/type.json');
const avatarCustomization = require('pokemongo-json-pokedex/output/avatar-customization.json');
const items = require('pokemongo-json-pokedex/output/item.json');

With Docker

Get the latest data with Docker into the output folder in your current directory.

docker run -v "$(pwd)/output:/var/lib/pokemongo-json-pokedex/output" brunnerlivio/pokemongo-json-pokedex:latest

From Source

You can get the latest version by executing the following command in your shell.

git clone https://github.com/pokemongo-dev-contrib/pokemongo-json-pokedex.git

# Go to the assets
cd pokemongo-json-pokedex/output
ls
# ➜ avatar-customization.json  item.json  locales  move.json  pokemon.json  type.json

Translations

The translation files follow the i18next Guidelines. The translation files can be found in the output/locales folder. You can find an example with NodeJS and the i18next client library in the samples folder

More Links

About

Transform the data from the Pokemon GO master files to a better readable & processable JSON file.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.1%
  • JavaScript 2.8%
  • Dockerfile 0.1%