pokemon-go-api
v0.0.11
Published
The unofficial Pokemon Go API (while it lasts).
Downloads
7
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 accountpassword
- the password of the accounttype
- a string that's eithergoogle
orpokemon-club
.location.set('address', address)
address
- the street address as a string
.location.set('coordinates', latitude, longitude)
latitude
- the latitude floatlongitude
- 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 floatlongitude
- 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: