- USE AT YOUR OWN RISK !
- includes protobuf file
- ugly code
$ python main.py -a "ptc" -u "username" -p "password" -l "New York, Washington Square"
[!] Your given location: Washington Square, Greenwich, NY 12834, USA
[!] lat/long/alt: 43.0909305 -73.4989367 0.0
[!] PTC login for: sublimnl
[+] RPC Session Token: TGT-842594-vsfLBEELnSrF ...
[+] Received API endpoint: https://pgorelease.nianticlabs.com/plfe/94/rpc
[+] Login successful
[+] Username: username
[+] You are playing Pokemon Go since: 2016-07-14 00:05:32
[+] Poke Storage: 250
[+] Item Storage: 350
[+] POKECOIN: 0
[+] STARDUST: 300
$ python main.py -a "google" -u "[email protected]" -p "password" -l "New York, Washington Square"
[!] Your given location: Washington Square, Greenwich, NY 12834, USA
[!] lat/long/alt: 43.0909305 -73.4989367 0.0
[!] Google login for: [email protected]
[+] RPC Session Token: eyJhbGciOiJSUzI1NiIsImt ...
[+] Received API endpoint: https://pgorelease.nianticlabs.com/plfe/490/rpc
[+] Login successful
[+] Username: <nickname>
[+] You are playing Pokemon Go since: 2016-07-12 20:59:39
[+] Poke Storage: 250
[+] Item Storage: 350
[+] POKECOIN: 0
[+] STARDUST: 100
Copy config.json.example in config.json and update accordingly eg:
{
"auth_service": "google",
"username": "[email protected]",
"password": "password11!!",
"location": "New York",
"debug": true,
"client_secret": "000000000000000000"
}
Thanks a lot to Mila432 for the inspiration and parts of the code!
C# Port by BclEx !
Node Port by Arm4x
Thanks a lot to elliottcarlson for the Google Auth PR