package
0.0.0-20161114195246-e8f4e09bf2a3
Repository: https://github.com/pogodevorg/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

ErrBadRequest happens when the remote service thinks the request is malformatted.
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.
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.
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.

# Structs

ErrResponse happens when there's something wrong with the response object.
Location consists of coordinates in longitude, latitude and altitude.
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.

# Type aliases

CellIDs is a slice of uint64s.