Uses Python API for Pokemon Go to mass transfer Pokemon
Branch: master
Clone or download
cglatot Merge pull request #59 from BeardAnnihilator/transfer_extra_monsters
Transfer extra monsters (First Part of batch evolve)
Latest commit 1af448c Aug 17, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
media Updated wording and readme Aug 1, 2016
pogo add comments Aug 17, 2016
.gitignore
.gitmodules Initial Commit Jul 26, 2016
Dockerfile add dockerfile to make it simpler to build / run Jul 28, 2016
LICENSE.txt Initial Commit Jul 26, 2016
PokeManager.bat Removed need for location Aug 1, 2016
README.md Added additional info for Mac and Linux users. Aug 7, 2016
__init__.py Initial Commit Jul 26, 2016
compile.sh
exceptions.config Added exceptions.config to stop transfer of rare pokemon. Feature #17 Jul 29, 2016
requirements.txt Initial Commit Jul 26, 2016

README.md

Pokemon Manager for Pokemon Go

This tool is a CLI tool that uses the Python API for Pokemon Go available here, so give them the credit for making this possible. Also, anything that will work for that API will work here as well.

Feel free to fork this and submit merge requests - I will review them and merge them if they fit with my vision for this tool.

If you have any suggestions, and I like them, I will be happy to look into it - but please don't expect me to be as active as the other developments going on. Submit an issue with [Feature] at the beginning if you would like to make a suggestion.

Disclaimer: This is built using an unofficial API. All of the unofficial APIs stand a risk of getting you banned. So use with caution!

What does it do?

It does 4 things:

  1. Allows you to view all your Pokemon and their stats (CP, IVs, and Moves)
  2. It groups / sorts alphabetically, and then by IV%
  3. It colour codes based on the IV% (Green for >75, Yellow for >50, White for the rest)
  4. Allows you to view how many of each Pokemon you have, as well as how many candies you have for that Pokemon
  5. It also shows how many you can evolve
  6. At the bottom of the list it will show you how many "base" Pokemon you can evolve. That is, those Pokemon that are tier 1 evolves only
  7. Allows you to mass transfer Pokemon
  8. You can set "safe" limits of IV% and CP. This will not transfer anything that is above either of those levels
  9. You can set up an exception list of Pokemon to never transfer. Look for exceptions.config in the root folder. 1 Pokemon per line
  10. It will show you how many of that Pokemon is "safe" to transfer, along with their stats
  11. It will ask how many of the "safe" Pokemon you want to transfer.
  12. It then shows you the pokemon that will be transferred, and their stats. And asks to confirm if you want to transfer them.
  13. If specifying certain numbers (lower than the total "safe" Pokemon) it will always transfer the lowest IV% Pokemon first
  14. You can also choose to transfer duplicate Pokemon. This will keep the most powerful of each type of Pokemon, and transfer the rest (Can also set IV% cutoff) 1. This will also *not transfer starred Pokemon
  15. Allows you to rename your Pokemon to include their IVs
  16. Currently it will rename your Pokemon to IV%-ATK/DEF/STA. There is a char limit of 12, so no room for anything else. I chose IV first because you can order by name, thus getting highest IV.
  17. It allows you to set an IV% limit so it will only rename those Pokemon that are above that limit

Important Info / Updates

  • Make sure you configure exceptions.config in the root folder with the bat file. Pokemon listed here will never be transferred. 1 Pokemon name per line.
  • You can now export the View and Counts to CSV files. They will be in the same directory as the .bat file (or from whichever directory you run the python command)
  • Pokemon names must be in ALL CAPITALS. It uses the API names (easy to look up)
  • You can specify ALL to transfer all Pokemon below the IV and CP thresholds
  • The release and rename functions will take a long time if there are a lot of pokemon. This is to help reduce bot detection by adding delays to requests
  • If you have 2FA and it gives you Auth errors, set up an App Password.

How to run it

Locally, with python

Make sure you have Python and the requirements installed. If you don't have Python installed, search how to do it. Use Version 2.7.x. Make sure you have pip as well.

To install the requirements, open a CMD window in the root folder and run:

pip install -r requirements.txt

If this gives you an error about not finding pip, please search how to install Python and pip (and make sure python is added to your PATH).

In the root directory there is a file called PokeManager.bat. Open it with your favourite editor and you should see this:

python ".\pogo\demo.py" -a google -u "user@gmail.com" -p "password"

Replace the email, password, and coordinates (coordinates can also be a location that Google recognises)

If you are on Linux or Max OS, you should replace the line with:

python "./pogo/demo.py" -a google -u "user@gmail.com" -p "password"

Run PokeManager.bat. There should be a menu presented to you. Follow along. Don't try to break it - you will.

If you want to use PTC, change -a google to -a ptc

Using Docker

If you have docker installed, you can build this locally using the supplied Dockerfile:

docker build .

Then you can run the image that was just built:

docker run --rm -it -e "AUTHTYPE=google" -e "LOGIN=yourlogin@gmail.com" -e "PASSWORD=your-password" -e "STARTINGPOINT=lat, long" <the image ID that was just made>

or to use a pre-built docker image:

Pre-built image:

docker run --rm -it -e "AUTHTYPE=google" -e "LOGIN=yourlogin@gmail.com" -e "PASSWORD=your-password" -e "STARTINGPOINT=lat, long" ryebrye/pokemongo-manager:latest

Screenshots

Main Menu

Main Menu

Viewing Pokemon

Viewing Pokemon

Viewing Totals of Pokemon

Counting Pokemon

Transferring Pokemon

Transferring Pokemon

Renaming Pokemon

Renaming Pokemon