pokemongo-protobuf

1.12.0 • Public • Published

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 :)

Readme

Keywords

none

Package Sidebar

Install

npm i pokemongo-protobuf

Weekly Downloads

3

Version

1.12.0

License

MIT

Last publish

Collaborators

  • rastapasta