Faded1396

Untitled

Aug 1st, 2016
695
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.31 KB | None | 0 0
  1. Python localhost port(5000) Pokemon Go localhost Map - *requires basic knowledge of coding & following directions; do not attempt unless you carefully follow directions.
  2.  
  3. -------------------------Files to Download----------------------------------------------------------
  4. 1)Python: https://www.python.org/downloads/ (Download Python 2.7.12)
  5. 2)Pokemon Go Map: https://github.com/AHAAAAAAA/PokemonGo-Map
  6. 3)Get-PIP.py: https://bootstrap.pypa.io/get-pip.py (save it as a python executable .py file)
  7. --------------------------------------------------------------------------------------------------------
  8. Python.org
  9. Download Python
  10. The official home of the Python Programming Language
  11.  
  12. GitHub
  13. AHAAAAAAA/PokemonGo-Map
  14. PokemonGo-Map - 🌏 Live visualization of all the pokemon in your area... and more!
  15.  
  16. STEP 1:
  17. Install Python.
  18. STEP 2:
  19. Double click "get-pip.py" file, it will install automatically.
  20. STEP 3:
  21. Extract the Pokemon Go Map file.
  22. STEP 4:
  23. On your browser go to this website-- https://developers.google.com/maps/documentation/javascript/get-api-key
  24. Now, scroll down and click on the "Get Key" Button.
  25. On Next page, agree any term and condition and click continue.
  26. Now, on next page give name to your project. After that you will get your API key. It will look Like this AIzaSyApaBxdrZGMv-GvVeFlBLVbaoUgBBuleMc
  27. STEP 5:
  28. Now go to the "Pokemon GO Map" folder and go to the "config" folder then open "Credential.json" file.
  29. On this file there will be "gmaps_key" : "" . Put your API key in between those. Like this-- "gmaps_key" : "AIzaSyApaBxdrZGMv-GvVeFlBLVbaoUgBBuleMc"
  30. STEP 6:
  31. Go to your python folder and go to script folder. (Usually in C:\Python27\Scripts)
  32. Now copy the address of the pip2.7.exe file.
  33. Example:
  34. C:\Python27\Scripts\pip2.7.exe @everyone(edited)
  35. STEP 7
  36. Now go to Pokemon Go Map folder and hold "SHIFT+Right click mouse" now click on the "Open command prompt here"
  37. Command prompt will open.
  38. Now Paste the location of the "pip2.7.exe" file we copied earlier and enter this command.
  39. C:\Python27\Scripts\pip2.7.exe install -r requirements.txt
  40.  
  41. It will start the installation, it will take some time have patience.
  42. STEP 8
  43. 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.
  44. Now type: (Note change the python link to your link)
  45. 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
  46.  
  47.  
  48. Example:
  49. 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
  50.  
  51. For coders convinence here is what the tags represent:
  52. -a (authorization method)
  53. -u (str(input)=username)
  54. -p (str(input)=password)
  55. -l (A google API search for that location)
  56. -st (step count to search (recommended 7))
  57. -L (language)
  58.  
  59.  
  60. Now hit enter.
  61. It will start. If you get login failed then your email or password is wrong, recheck it.
  62. STEP 9
  63. Now on your browser, type localhost:5000
  64. STEP 10
  65. To improve response you can add another argument to the source code as a tag after the language tag called search delay (-sd)
  66. I recommend
  67. -sd 5
  68. to be appended to the code for most optimal use.
  69. @everyone CREDIT to @[7DS] thecommondude for this helpful tutorial/write-up!
Advertisement
Add Comment
Please, Sign In to add comment