Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Python localhost port(5000) Pokemon Go localhost Map - *requires basic knowledge of coding & following directions; do not attempt unless you carefully follow directions.
- -------------------------Files to Download----------------------------------------------------------
- 1)Python: https://www.python.org/downloads/ (Download Python 2.7.12)
- 2)Pokemon Go Map: https://github.com/AHAAAAAAA/PokemonGo-Map
- 3)Get-PIP.py: https://bootstrap.pypa.io/get-pip.py (save it as a python executable .py file)
- --------------------------------------------------------------------------------------------------------
- Python.org
- Download Python
- The official home of the Python Programming Language
- GitHub
- AHAAAAAAA/PokemonGo-Map
- PokemonGo-Map - 🌏 Live visualization of all the pokemon in your area... and more!
- STEP 1:
- Install Python.
- STEP 2:
- Double click "get-pip.py" file, it will install automatically.
- STEP 3:
- Extract the Pokemon Go Map file.
- STEP 4:
- On your browser go to this website-- https://developers.google.com/maps/documentation/javascript/get-api-key
- Now, scroll down and click on the "Get Key" Button.
- On Next page, agree any term and condition and click continue.
- Now, on next page give name to your project. After that you will get your API key. It will look Like this AIzaSyApaBxdrZGMv-GvVeFlBLVbaoUgBBuleMc
- STEP 5:
- Now go to the "Pokemon GO Map" folder and go to the "config" folder then open "Credential.json" file.
- On this file there will be "gmaps_key" : "" . Put your API key in between those. Like this-- "gmaps_key" : "AIzaSyApaBxdrZGMv-GvVeFlBLVbaoUgBBuleMc"
- STEP 6:
- Go to your python folder and go to script folder. (Usually in C:\Python27\Scripts)
- Now copy the address of the pip2.7.exe file.
- Example:
- C:\Python27\Scripts\pip2.7.exe @everyone(edited)
- STEP 7
- Now go to Pokemon Go Map folder and hold "SHIFT+Right click mouse" now click on the "Open command prompt here"
- Command prompt will open.
- Now Paste the location of the "pip2.7.exe" file we copied earlier and enter this command.
- C:\Python27\Scripts\pip2.7.exe install -r requirements.txt
- It will start the installation, it will take some time have patience.
- STEP 8
- After the installation is complete, close the command prompt and on the "Pokemon Go Map" folder Click "SHIFT+Right button of the mouse" And open command prompt just like before.
- Now type: (Note change the python link to your link)
- C:\Python27\python.exe runserver.py -a google -u [your pokemon Gmail here] -p [your password] -l "[Locaton here]" -st 7 -H 0.0.0.0 -L en
- Example:
- C:\Python27\python.exe runserver.py -a google -u [email protected] -p thisistest -l "Sydney NSW 2000, Australia" -st 7 -H 0.0.0.0 -L en
- For coders convinence here is what the tags represent:
- -a (authorization method)
- -u (str(input)=username)
- -p (str(input)=password)
- -l (A google API search for that location)
- -st (step count to search (recommended 7))
- -L (language)
- Now hit enter.
- It will start. If you get login failed then your email or password is wrong, recheck it.
- STEP 9
- Now on your browser, type localhost:5000
- STEP 10
- To improve response you can add another argument to the source code as a tag after the language tag called search delay (-sd)
- I recommend
- -sd 5
- to be appended to the code for most optimal use.
- @everyone CREDIT to @[7DS] thecommondude for this helpful tutorial/write-up!
Advertisement
Add Comment
Please, Sign In to add comment