Skip to content

start_gym_battle

tjado edited this page Aug 1, 2016 · 2 revisions

start_gym_battle

API function start_gym_battle
Class Name: POGOProtos.Networking.Requests.Messages_pb2.StartGymBattleMessage
File name: POGOProtos/Networking/Requests/Messages/StartGymBattleMessage.proto

Input Arguments

Field Protobuf Type Python Type Label Description
gym_id string str/unicode optional
attacking_pokemon_ids fixed64 int/long (as list) repeated
defending_pokemon_id fixed64 int/long optional
player_latitude double float optional
player_longitude double float optional

Usage Example

    api.start_gym_battle(
        gym_id = <your_input>,
        attacking_pokemon_ids = [<input_1>, <input_2>, <input_n>],
        defending_pokemon_id = <your_input>,
        player_latitude = <your_input>,
        player_longitude = <your_input>)
Clone this wiki locally