NicklasWallgren
NicklasWallgren
Thanks for the info @voxx. I'll have to take a look into the problem.
@voxx Do you know if the signature has to be valid? This could be a problem since this library does not currently support "PlatformRequests" or any of the available hash...
It's probably due to AWS IP ban, try using a proxy.
I'm all for switching to protobuf-php, eventually. We should get a separate branch going.
@Ni42 The files have been updated :)
@Sjaakmoes Thanks, I'll be reviewing it later today.
What do you mean by "current" gyms conquered? As in gyms you currently defend? ``` * @method int getBattleAttackWon() * @method int getBattleAttackTotal() * @method int getBattleDefendedWon() * @method int...
One way of achieving it, probably not the best way. ``` $deployedPokemons = $pokebank->getPokemons()->filter(function (Pokemon $pokemon) { return $pokemon->isDeployed(); }); $numberOfDeployedPokemons = count($deployedPokemons); ```
The Map API is not done yet, you'll have to wait a bit more ;)
You could try this snippet while you wait. ``` $application = new ApplicationKernel('INSERT_USER', 'INSERT_PASSWORD', Factory::AUTHENTICATION_TYPE_PTC); $application->setLocation(INSERT_LATITUDE, INSERT_LONGITUDE); $map = new Map(); $map->update(); var_dump($map->getPokestops()); ```