package
0.0.0-20161114144057-189d72e1860c
Repository: https://github.com/badlamb/pgoapi-go.git
Documentation: pkg.go.dev
# Functions
GetErrorFromStatus will, depending on the status code, give you an error or nil if there is no error.
NewRPC constructs a Pokémon Go RPC API client.
NewSession constructs a Pokémon Go RPC API client.
# Variables
ErrAccountBanned happens when a request is sent with a banned account.
ErrBadRequest happens when the remote service thinks the request is malformatted.
ErrCheckChallenge happens when the account gets flagged for a ReCaptcha challenge.
ErrFormatting happens when the something in the request body was not right.
ErrInvalidAuthToken happens when the currently used auth token is not vailid.
ErrInvalidPlatformRequest happens when a platform specific request like the request signature being incorrect.
ErrInvalidRequest happens when the request is invalid.
ErrIpSoftBanned happens when a request is sent from a soft banned ip.
ErrNewRPCURL happens when there is a new RPC url available in the response body.
ErrNoURL happens when the remote service is expected to respond with a remote URL but doesn't.
ErrProxyDead happens when the provided proxy does not respond.
ErrRedirect happens when an invalid session endpoint has been used.
ErrRequest happens when there is an unknown issue with the request.
ErrSessionInvalidated happens when the session has been invalidated by the remote service.
No description provided by the author
No description provided by the author
# Structs
ErrResponse happens when there's something wrong with the response object.
Location consists of coordinates in longitude, latitude and altitude.
No description provided by the author
RPC is used to communicate with the Pokémon Go API.
Session is used to communicate with the Pokémon Go API.
VoidFeed is a feed that does nothing with the data.
# Interfaces
Feed is a common interface to act on encountered.