Coder Social home page Coder Social logo

pogoprotos's Introduction

POGOProtos Build Status Code Climate Issue Count

This repository contains the ProtoBuf .proto files needed to decode the PokémonGo RPC.

If you want to know which messages are implemented right now, click here.

Usage

Versioning

We are following semantic versioning for POGOProtos. Every version will be mapped to their current PokémonGo version.

Version Android IOS
2.7.0 0.57.2 1.27.2
2.6.x 0.55.0 1.25.0
2.5.x 0.53.1 1.23.1
2.4.x 0.51.0 1.21.0
2.3.0 0.49.1 1.19.1
2.2.0 0.47.1 1.17.0
2.1.0 0.45.0 1.15.0
2.1.0-beta 0.45.0 1.15.0
2.0.x 0.43.4 1.13.4

If you want to figure out the current version in an automated system, use this file.

https://raw.githubusercontent.com/AeonLucid/POGOProtos/master/.current-version

Note: This file will contain pre-release versions too.

Preparation

Current recommended protoc version: "Protocol Buffers v3.1.0".

You can find download links here.

Windows

Be sure to add protoc to your environmental path.

*nix

Ensure that you have the newest version of protoc installed.

OS X

Use homebrew to install protobuf with brew install --devel protobuf.

Compilation

The compilation creates output specifically for the target language, i.e. respecting naming conventions, etc.
This is an example of how the generated code will be organized:

python compile.py cpp:

  • POGOProtos/Data/PlayerData.proto -> POGOProtos/Data/PlayerData.pb.cpp

python compile.py csharp:

  • POGOProtos/Data/PlayerData.proto -> POGOProtos/Data/PlayerData.g.cs

python compile.py go:

  • POGOProtos/Data/*.proto -> github.com/aeonlucid/pogoprotos/data
  • POGOProtos/Data/PlayerData.proto -> github.com/aeonlucid/pogoprotos/data/player_data.pb.go

python compile.py java:

  • POGOProtos/Data/*.proto -> com/github/aeonlucid/pogoprotos/Data.java

python compile.py js:

  • POGOProtos/**/*.proto -> pogoprotos.js

python compile.py objc:

  • POGOProtos/Data/PlayerData.proto -> POGOProtos/Data/PlayerData.pbobjc.m

python compile.py python:

  • POGOProtos/Data/*.proto -> pogoprotos/data/__init__.py
  • POGOProtos/Data/PlayerData.proto -> pogoprotos/data/player_data_pb2.py

python compile.py ruby:

  • POGOProtos/Data/*.proto -> pogoprotos/data.rb
  • POGOProtos/Data/PlayerData.proto -> pogoprotos/data/player_data.rb

Command

Run python compile.py --help for help.

Extra information

You can find all available languages here https://github.com/google/protobuf.

Libraries

If you don't want to compile POGOProtos but instead use it directly, check out the following repository.

Language Source
NodeJS https://github.com/rastapasta/node-pokemongo-protobuf
NodeJS (pure JS) https://github.com/cyraxx/node-pogo-protos
.NET https://github.com/AeonLucid/POGOProtos.NetStandard1
.NET https://github.com/Necrobot-Private/POGOProtos
.NET https://github.com/johnduhart/POGOProtos-dotnet
PHP https://github.com/jaspervdm/pogoprotos-php
Go https://github.com/pkmngo-odi/pogo-protos
Haskell https://github.com/relrod/pokemon-go-protobuf-types
Rust https://github.com/rockneurotiko/pokemon-go-protobuf-rs

pogoprotos's People

Contributors

aeonlucid avatar alucas avatar cyraxx avatar dev7355608 avatar dmadisetti avatar drdelay avatar fkloft avatar furtif avatar grover-c13 avatar ibotpeaches avatar igio90 avatar jabbink avatar johnduhart avatar keyphact avatar kvey avatar laverdet avatar lennix avatar marloncolhado avatar mikuso avatar mjmjelde avatar noctem avatar nostrademous avatar pxue avatar rastapasta avatar relrod avatar shargon avatar spl3en avatar wallycz avatar zechrales avatar zeevallin avatar

Watchers

 avatar  avatar  avatar

Forkers

xelwon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.