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.
npm i --save pokemongo-protobuf
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
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 :)