1.12.0 • Published 9 years ago
pokemongo-protobuf v1.12.0
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-protobufUsage
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 dataRecompile 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 :)