Pokemon-Go-Rocket-API
Pokemon-Go-Rocket-API copied to clipboard
Gym Sparring
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);