Pokemon-Go-Rocket-API icon indicating copy to clipboard operation
Pokemon-Go-Rocket-API copied to clipboard

Gym Sparring

Open AresDraco opened this issue 9 years ago • 0 comments

I see there is a call for battle gym that some body else implemented like this, but, how can I implement it for sparring? is the same call? Is it not yet implemented? thx in advance.

var mypokemon = inventory.InventoryDelta.InventoryItems.Select(i => i.InventoryItemData?.PokemonData) .Where(p => p != null && p.PokemonId > 0).OrderByDescending(CalculatePokemonPerfection).Take(6). Select(pok => pok.Id);

var startBattle = await client.Fort.StartGymBattle(gym.Id, gymState.Memberships.First().PokemonData.Id, mypokemon);

AresDraco avatar Aug 03 '16 15:08 AresDraco