Skip to content

Instantly share code, notes, and snippets.

@mackhankins
Last active July 18, 2016 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mackhankins/5faaf6e90658374ad6db64c9fd8625e1 to your computer and use it in GitHub Desktop.
Save mackhankins/5faaf6e90658374ad6db64c9fd8625e1 to your computer and use it in GitHub Desktop.
Auto Updating Pokemon Go Map
  1. You need to install python and pip. You can Google your way through that part of it.
  2. Next, open up terminal and clone the repository. git clone https://github.com/memelyfe/pokemongo-api-demo.git to your home directory. I assume you're terminal opens up there, but maybe cd ~ if not.
  3. cd ~/pokemongo-api-demo
  4. git checkout maps
  5. pip install -r requirements.txt
  6. Now we need an api key for Google Maps Javascript Library. I'm not going to walk you through this whole process, but you start at https://console.developers.google.com/ by creating a new project. Then, enabling the API you need.
  7. Once you have the api key, back to terminal nano ~/pokemongo-api-demo/config.json and enter the api key where it tells you. cntrl+O to save;
  8. Whew, next get your current coordinates from your choice, but here's one. https://whereamirightnow.com/. I prefer this over using a city/state, but you can also do that.
  9. Be sure to have your Pokemon Trainer Club login handy. I don't think it works with a google login, but it might.
  10. Now in your terminal ./run.sh user password "location" (ie ./run.sh user password "32.3049746, -90.173615")
  11. That should start running after a successful login to PTC and you should start seeing some percentages of it building. Just let it run and keep it open.
  12. In your browser open, http://localhost:8000 and you should see the Google Map with results.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment