🛠˛ Pokemon Go protobuf protocol wrapper for node.js
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
POGOProtos @ 09e0b6d
data
.gitignore
.gitmodules
README.md
index.js
package.json

README.md

Pokemon Go Protobuf wrapper for Node

npm version dependencies downloads

This package wraps the node-protobuf and the current Pokemon Go protobuf definitions together in one package.

Take a look at the Pokemon Go MITM project to see how it can be used.

Installation

npm i --save pokemongo-protobuf

Usage

var proto = require('pokemongo-protobuf');
console.log(proto.info());

// get a buffer somewhere
var data = proto.parse(buffer, "POGOProtos.Networking.Envelopes.ResponseEnvelope");

// Do stuff with data

Recompile the proto definitions

By now, the POGOProtos include a compile script. Pull the newest revision and compile it with python compile_single.py -d to generate a new out/POGOProtos.desc.

And: This README deserves more love :)