- You need to install python and pip. You can Google your way through that part of it.
- 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 maybecd ~
if not. cd ~/pokemongo-api-demo
git checkout maps
pip install -r requirements.txt
- 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.
- 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; - 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. - Be sure to have your Pokemon Trainer Club login handy. I don't think it works with a google login, but it might.
- Now in your terminal
./run.sh user password "location"
(ie./run.sh user password "32.3049746, -90.173615"
) - 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.
- In your browser open, http://localhost:8000 and you should see the Google Map with results.
Last active
July 18, 2016 13:30
-
-
Save mackhankins/5faaf6e90658374ad6db64c9fd8625e1 to your computer and use it in GitHub Desktop.
Auto Updating Pokemon Go Map
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment