This project is adopted from Pokemon Go Bot It has been stripped down to minimally workable. My target is to turn the original project into a deployable server version
- Installation
- Credits
- Python 2.7.x
- pip
- git
- virtualenv (Recommended)
- docker (Optional)
- protobuf 3 (OS Dependent, see below)
- OS X:
brew update && brew install --devel protobuf
- Windows: Download protobuf 3.0: here and unzip
bin/protoc.exe
into a folder in your PATH. - Linux:
sudo apt-get install python-protobuf
(change master to dev for the latest version)
$ git clone -b master https://github.com/PokemonGoF/PokemonGo-Bot
$ cd PokemonGo-Bot
$ virtualenv .
$ source bin/activate
$ pip install -r requirements.txt
$ git submodule init
$ git submodule update
(change master to dev for the latest version)
Make sure you install the following first: Requirements
$ git clone -b master https://github.com/PokemonGoF/PokemonGo-Bot
$ cd PokemonGo-Bot
$ virtualenv .
$ source bin/activate
$ pip install -r requirements.txt
$ git submodule init
$ git submodule update
The example is here
1. Check the type of your API request in POGOProtos For example: RECYCLE_INVENTORY_ITEM
2. Convert to the api call in pokemongo_bot/init.py, RECYCLE_INVENTORY_ITEM change to self.api.recycle_inventory_item
def drop_item(self,item_id,count): self.api.recycle_inventory_item(...............)
3. Where is the param list?
You need check this Requests/Messages/RecycleInventoryItemMessage.proto
4. Then our final api call is
def drop_item(self,item_id,count): self.api.recycle_inventory_item(item_id=item_id,count=count) inventory_req = self.api.call() print(inventory_req)
5. You can now debug on the log to see if get what you need
- eggins -- The first pull request :)
- crack00r
- ethervoid
- Bashin
- tstumm
- TheGoldenXY
- Reaver01
- rarshonsky
- earthchie
- haykuro
- 05-032
- sinistance
- CapCap
- mzupan
- gnekic(GeXx)
- Shoh
- luizperes
- brantje
- VirtualSatai
- dmateusp
- jtdroste
- msoedov
- Grace
- Calcyfer
- asaf400
- guyz
- DavidK1m
- budi-khoirudin
- riberod07
- th3w4y
- Leaklessgfy
- tejado many thanks for the API
- Mila432 for the login secrets
- elliottcarlson for the Google Auth PR
- AeonLucid for improved protos
- AHAAAAAAA for parts of the s2sphere stuff