Git Product home page Git Product logo

pgoapi's Introduction

Build Status

pgoapi - a pokemon go api lib in python

pgoapi is a client/api/demo for Pokemon Go by https://github.com/tejado.
It allows automatic parsing of requests/responses by finding the correct protobuf objects over a naming convention and will return the response in a parsed python dictionary format.

  • This is unofficial - USE AT YOUR OWN RISK !
  • I don't play pokemon go !
  • No bot/farming code included !

Feature Support

  • Python 2 and 3
  • Google/PTC auth
  • Address parsing for GPS coordinates
  • Allows chaining of RPC calls
  • Re-auth if ticket expired
  • Check for server side-throttling
  • Thread-safety
  • Advanced logging/debugging
  • Uses POGOProtos
  • Mostly all available RPC calls (see API reference on the wiki)

Documentation

Documentation is available at the github pgoapi wiki.

Requirements

  • Python 2 or 3
  • requests
  • protobuf (>=3)
  • gpsoauth
  • s2sphere
  • geopy (only for pokecli demo)

Use

To use this api as part of a python project using setuptools/pip, modify your requirements.txt file to include:

git+https://github.com/pogodevorg/pgoapi.git@develop#egg=pgoapi

If you are not using setuptools/pip, follow the instructions in the Contributing section below to clone this repository and then install pgoapi using the appropriate method for your project.

Contributing

Contributions are highly welcome. Please use github or Discord for it!

You can get started by cloning this repository. Note that as pgoapi uses git submodules you must perform a recursive clone:

Protocol Command
HTTPS git clone --recursive https://github.com/pogodevorg/pgoapi.git
SSH git clone --recursive [email protected]:pogodevorg/pgoapi.git

If you already have a copy of the repository you can use git submodule update --init to fetch and update the submodules.

Once you have cloned the repository, switch to the develop branch. To merge your changes back into the main repository, make a pull request to develop.

Credits

Mila432 for the login secrets
elliottcarlson for the Google Auth PR
AeonLucid for improved protos
AHAAAAAAA for parts of the s2sphere stuff
mikeres0 for the slack channel including auto signup
DeirhX for thread-safety

Ports

Node Port by Arm4x
Node Port - pogobuf by cyraxx

Analytics

pgoapi's People

Contributors

cheesynoob avatar dmadisetti avatar ephemerality avatar ezcgman avatar friscomad avatar globeriz avatar jchristi avatar john-best avatar keyphact avatar mikeres0 avatar mjuchli avatar myntath avatar noctem avatar noone-dev avatar nullpixel avatar primaxius avatar rahu1994 avatar rbignon avatar robhobbes avatar ryanhope avatar samuelteixeiras avatar sebastienvercammen avatar sloppydrive avatar spezifisch avatar sttug avatar talsk avatar tejado avatar wcastello avatar wchill avatar zechrales avatar

Watchers

 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.