package
Version:
v0.0.0-...-5bb00d8
Opens a new window with list of versions in this module.
Published: Jul 26, 2016
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Location consists of coordinates in longitude, latitude and altitude
Session is used to communicate with the Pokémon Go API
NewSession constructs a Pokémon Go RPC API client
func (s *Session) Call(requests []*protos.Request) (*protos.ResponseEnvelope, error)
Call queries the Pokémon Go API through RPC protobuf
func (s *Session) GetInventory() (inventory *protos.GetInventoryResponse, err error)
GetPlayer returns the current player profile
func (s *Session) GetPlayer() (player *protos.GetPlayerResponse, err error)
GetPlayer returns the current player profile
Init initializes the client by performing full authentication
Source Files
¶
Click to show internal directories.
Click to hide internal directories.