GithubHelp home page GithubHelp logo

bartonp / pokemanager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cglatot/pokemanager

0.0 2.0 0.0 360 KB

Uses Python API for Pokemon Go to mass transfer Pokemon

License: Other

Batchfile 0.10% Shell 0.13% Python 99.77%

pokemanager's Introduction

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 "[email protected]" -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 "[email protected]" -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 "[email protected]" -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 "[email protected]" -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

pokemanager's People

Contributors

cglatot avatar bartonp avatar keunglh avatar fshp avatar ryangardner avatar tthreeoh avatar wenting-zhao avatar sleepypikachu avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.