Giter VIP home page Giter VIP logo

pokemongo-map's Introduction

PokemonGo Map

Build Status Coverage Status

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.


Requirements

  • Python 2.7.x

Installation

pip install -r requirements.txt

Usage

python example.py -a authService -u myUsername -p myPassword -l "Boulder, CO" -st 5

Flag Description Required
-a --auth-service Auth service (PTC or google)
-u --username Username
-p --password Password
-l --location Any location Google Maps can understand
-st --step-limit Steps to take
-i --ignore Comma-separated list of Pokémon names to ignore
-o --only Comma-separated list of Pokémon names to search
-ar --auto-refresh Number of seconds on which to autorefresh
-dp --display-pokestop Display pokéstops
-dg --display-gym Display gyms
-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
-c --china Coordinates transformer for China
-d --debug Debug mode
-ol --onlylure Display only lured pokéstop

Note: 5 steps is approximately a 1.2km radius. More than 10 is redundant (you usually can't walk that far before despawn anyway)

Working examples

ignore Pokémon

python example.py -a PTC -u myUsername -p myPassword -l "Central Park, New York, NY" -st 5 -i Pidgey,Weedle,Zubat

make server externally visible

IPv4

python example.py -a PTC -u myUsername -p myPassword -l "Central Park, New York, NY" -st 5 -H 0.0.0.0 -L 5000

IPv6

python example.py -a PTC -u myUsername -p myPassword -l "Central Park, New York, NY" -st 5 -H :: -L 5000

Common Errors

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

FAQ

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?

pokemongo-map's People

Contributors

6iz avatar foodforarabbit avatar ahaaaaaaa avatar jz6 avatar sykhro avatar monkeyleet avatar marauder37 avatar dintriglia avatar medghaim avatar nyubis avatar xdtrammell avatar benemorius avatar melonsmasher avatar shinhan avatar scyntrus avatar rofrankel avatar h3adsho0ot avatar denia42 avatar solojungle avatar rgnvldr avatar nborrmann avatar johanneshn avatar h1pp0 avatar pperle avatar w0lfschild avatar popsul avatar yangchenyun avatar rubengm avatar jaewun avatar jasonmadigan avatar

Watchers

James Cloos avatar  avatar

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.