Home

Awesome

POGOProtos Build status

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

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

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

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

Preparation

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

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

Extra information

Libraries

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

LanguageSource
NodeJShttps://github.com/pogosandbox/pogobuf
NodeJS (pure JS)https://github.com/pogosandbox/node-pogo-protos
.NET (nuget pack)https://www.nuget.org/packages/POGOProtos.Core
.NET (nuget source)https://github.com/Furtif/POGOProtos.Core
.NET (csproj source)https://github.com/TheUnnamedOrganisation/POGOProtos
PHPhttps://github.com/jaspervdm/pogoprotos-php
Gohttps://github.com/pkmngo-odi/pogo-protos
Haskellhttps://github.com/relrod/pokemon-go-protobuf-types
Rusthttps://github.com/rockneurotiko/pokemon-go-protobuf-rs

Versioning

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

VersionAndroidiOSExtra
2.26.00.101.11.71.1
2.25.00.99.21.69.2
2.24.00.97.21.67.2
2.23.10.95.31.65.3Updated protobuf to 3.5.1
2.23.00.95.31.65.3
2.22.00.91.11.59.1
2.21.00.87.51.57.5
2.20.00.85.11.55.1
2.19.20.83.21.53.2Updated protobuf to 3.5.0
2.19.10.83.21.53.2
2.18.20.79.41.49.4
2.18.10.79.31.49.3
2.18.00.79.21.49.2
2.17.00.77.11.47.1
2.16.00.75.01.45.0
2.15.00.73.11.43.1Updated protobuf to 3.4.0
2.14.00.71.01.41.0
2.13.00.69.11.39.1
2.12.00.69.01.39.0
2.11.00.67.21.37.2
2.11.0-beta0.67.11.37.1
2.10.x0.63.11.33.1
2.9.20.61.01.31.0Updated protobuf to 3.3.0
2.9.10.61.01.31.0Updated protobuf to 3.2.0
2.9.00.61.01.31.0
2.8.00.59.11.29.1
2.7.00.57.21.27.2
2.6.x0.55.01.25.0
2.5.x0.53.11.23.1
2.4.x0.51.01.21.0
2.3.00.49.11.19.1
2.2.00.47.11.17.0
2.1.00.45.01.15.0
2.1.0-beta0.45.01.15.0
2.0.x0.43.41.13.4

CREDITS