Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

attack_gym

NoOne-dev edited this page Aug 28, 2016 · 2 revisions

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