Live visualization of all the pokemon (with option to show gyms and pokestops) in your area. This is a proof of concept that we can load all the pokemon visible nearby given a location. Currently runs on a Flask server displaying a Google Maps with markers on it.
Building off Mila432's PokemonGo API, tejado's additions, leegao's additions and Flask-GoogleMaps.
- Python 2.7.x
pip install -r requirements.txt
python example.py -a authService -u myUsername -p myPassword -l "Boulder, CO" -st 5
Flag | Description | Required |
---|---|---|
-a |
Auth Service (ptc or google) | |
-u |
Username | ✓ |
-p |
Password | ✓ |
-l |
Any location Google Maps can understand | ✓ |
-st |
Steps to take | ✓ |
-ar --auto_refresh seconds |
Enables auto page reload. Value in seconds | |
-i --ignore |
Comma-separated list of Pokémon to ignore | |
-o --only |
Comma-separated list of Pokemon to search for exclusively | |
-dp --display-pokestop |
Display pokestop | |
-dg --display-gym |
Display gym | |
-H --host |
Set web server listening host | |
-P --port |
Set web server listening port | |
-L --locale |
Locale for Pokemon names: default en, check locale folder for more options |
Note: 5 steps is approximately a 1.2km radius. More than 10 is redundant (you usually can't walk that far before despawn anyway)
Exception, e <- Invalid syntax.
- You are using python 3, download python 2.7 instead.
pip or python is not recognized as an internal or external command
- Replace pip with C:\Python27\Scripts\pip
- Replace python with C:\Python27\python
Can I sign in with Google?
- Yes you can! Pass the flag
-a google
to use Google authentication
I'm on Windows, why does nothing work?