pga

pokemon-go-api

The unofficial Pokemon Go API (while it lasts).

Showing:

Popularity

Downloads/wk

2

Maintenance

No Maintenance Data Available

Package

Dependencies

6

Size (min+gzip)

284.7KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

pokemon-go-api

The unofficial Pokemon Go API (while it lasts).

How to Install

npm install pokemon-go-api --save

Supported methods

  • .login(username, password, type)
    • username - the username of the account
    • password - the password of the account
    • type - a string that's either google or pokemon-club
  • .location.set('address', address)
    • address - the street address as a string
  • .location.set('coordinates', latitude, longitude)
    • latitude - the latitude float
    • longitude - the longitude float
  • .getPlayerEndpoint()
  • .profile.get()
  • .inventory.get()
  • .mapData.getNearby()
  • .mapData.getByAddress(address)
    • address - the street address as a string
  • .mapData.getByCoordinates(latitude, longitude)
    • latitude - the latitude float
    • longitude - the longitude float

Code Examples

For a working set of code examples, visit the Examples section of the repository.

Thanks

This package is made possible thanks to:

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100