/pokemon-go-api

Pokémon GO API in Python

Primary LanguagePython

Pokemon_Go_API

Pokémon GO API in Python

IMPORTANT!

Fixed some code? Improved a function? Cleaned the mess? Other fixes? Sumbit a pull-request!

Some Info:

  1. GitHub issues are mainly for bug reporting.
  2. One goal of the project is to understand the API and to give other developers a starting point.
  3. We are discussing the release but there are some problems. One point is the usage of the Pokemon GO API. We dont want Niantic to take action against API usage. There are a lot of nice projects out there built on the API. So please dont blame us about thinking about our actions.

Getting Started

Step One: Install Prerequisites

  1. Install Python 2.7
  2. Install PIP

Step Two: Install Pokemon_Go_API

  1. Download or clone the repository.
  2. Using a terminal, navigate into the cloned repository.
  3. Install all requirements for the project using pip install -r requirements.txt

Step Three: Run Pokemon_Go_API

To run the project using Google login:

python ./main.py -t Google -u yourname@gmail.com -p yourpassword123 -l "123 Some Address Some City, STATE ZIP"

To run the project using Pokemon Trainer Club login:

python ./main.py -t ptc -u yourusername -p yourpassword123 -l "123 Some Address Some City, STATE ZIP"

Authentication Note

If you're authenticating with Google and have 2 factor authentication enabled for you account, you should create an application specific password.

To-Do:

  • Eat moro Protobuf..
  • Login as pokemon trainer + token
  • Login over google + token
  • Run to pokestops
  • Farm specific area for pokestops
  • Human walking logic
  • Catch Pokemon automatically
  • Drop items when bag is full
  • Scan your inventory for XYZ CP pokemon and release them
  • Pokemon catch filter
  • Hatch eggs
  • Incubate eggs
  • Evolve pokemons
  • Use candy
  • Clean code
  • Fully automate this script
  • Make v1.0 public!

i no longer have time for this project, once i have the hype is over and nobody needs this files, do your best .. files are old backups that are working but in need of many bug fixes. should be only touched by users who know how to fix UGLY, sometimes it works ... sometimes its not :)

i will publish a website soon where you can test this bot

Donation:

126VcCQDCqzVsaA84QRxqa2LbLQm4Fgs4s Bitcoin

Preview:

Alt text

Alt text

Video of the Pokestop farmer beta v1.0:

Alt text

Video of the Pokemon catcher v1.0:

Alt text