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.
We are following semantic versioning for POGOProtos. Every version will be mapped to their current PokémonGo version.
Version | Android | IOS |
---|---|---|
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.2 | 0.43.4 | 1.13.4 |
2.0.1 | 0.43.4 | 1.13.4 |
2.0.0 | 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.
Current recommended protoc version: "Protocol Buffers v3.1.0".
You can find download links here.
Be sure to add protoc
to your environmental path.
Ensure that you have the newest version of protoc
installed.
Use homebrew
to install protobuf
with brew install --devel protobuf
.
The compilation creates output specifically for the target language, i.e. respecting naming contentions, etc.
This is an example of how the generated code will be organized:
python compile_pretty.py cpp
:
POGOProtos/Data/PlayerData.proto
->POGOProtos/Data/PlayerData.pb.cpp
python compile_pretty.py csharp
:
POGOProtos/Data/PlayerData.proto
->POGOProtos/Data/PlayerData.g.cs
python compile_pretty.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_pretty.py java
:
POGOProtos/Data/*.proto
->com/github/aeonlucid/pogoprotos/Data.java
python compile_pretty.py js
:
POGOProtos/**/*.proto
->pogoprotos.js
python compile_pretty.py objc
:
POGOProtos/Data/PlayerData.proto
->POGOProtos/Data/PlayerData.pbobjc.m
python compile_pretty.py python
:
POGOProtos/Data/*.proto
->pogoprotos/data/__init__.py
POGOProtos/Data/PlayerData.proto
->pogoprotos/data/player_data_pb2.py
python compile_pretty.py ruby
:
POGOProtos/Data/*.proto
->pogoprotos/data.rb
POGOProtos/Data/PlayerData.proto
->pogoprotos/data/player_data.rb
Run python compile.py --help
for help.
You can find all available languages here https://github.com/google/protobuf.
If you don't want to compile POGOProtos but instead use it directly, check out the following repository.