Awesome
Pokemon Go Protobuf wrapper for Node
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 :)