MCPcopy
hub / github.com/PokemonGoF/PokemonGo-Bot / create_request

Method create_request

pokemongo_bot/api_wrapper.py:83–93  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

81 ApiWrapper.DEVICE_ID = "3d65919ca1c2fc3a8e2bd7cc3f974c34"
82
83 def create_request(self):
84 RequestClass = ApiRequest
85 if self.useVanillaRequest:
86 RequestClass = PGoApiRequest
87
88 return RequestClass(
89 self,
90 self._position_lat,
91 self._position_lng,
92 self._position_alt
93 )
94
95 def login(self, provider, username, password):
96 # login needs base class "create_request"

Callers 15

refreshMethod · 0.45
_print_character_infoMethod · 0.45
use_lucky_eggMethod · 0.45
heartbeatMethod · 0.45
get_map_objectsMethod · 0.45
handle_eventMethod · 0.45
_nickname_pokemonMethod · 0.45
spin_fortMethod · 0.45
transfer_pokemonMethod · 0.45

Calls

no outgoing calls

Tested by 1