Skip to content

attack_gym

Tjado Maecke edited this page Jul 28, 2016 · 1 revision

attack_gym

API function attack_gym
Class Name: POGOProtos.Networking.Requests.Messages_pb2.AttackGymMessage
File name: POGOProtos/Networking/Requests/Messages/AttackGymMessage.proto

Input Arguments

Field Protobuf Type Python Type Label Description
gym_id string str/unicode optional
battle_id string str/unicode optional
attack_actions POGOProtos.Data.Battle.BattleAction POGOProtos.Data.Battle.BattleAction (as list) repeated
last_retrieved_actions POGOProtos.Data.Battle.BattleAction POGOProtos.Data.Battle.BattleAction optional
player_latitude double float optional
player_longitude double float optional

Usage Example

    api.attack_gym(
        gym_id = <your_input>,
        battle_id = <your_input>,
        attack_actions = [<input_1>, <input_2>, <input_n>],
        last_retrieved_actions = <your_input>,
        player_latitude = <your_input>,
        player_longitude = <your_input>)
Clone this wiki locally