Skip to content

kmcheung12/flask-celery-pogo

Repository files navigation

Foreword

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

Table of Contents

Installation

Requirements (click each one for install guide)

Protobuf 3 installation

  • 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

Installation Linux

(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

Installation Mac

(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

How to add/discover new API

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


Contributors (Don't forget add yours here when you create PR)

  • 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

Credits

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published