Closed Raphaelbm closed 7 years ago
I tested this examples because my code doesn't work now : examples/GUI_BestCpPokemonDetails.php
But this line is wrong:
$pokez = $pokemonGoApi->getInventory()->getItems()->getPokeBank()->getPokemons();
Solution:
$pokez = $pokemonGoApi->getInventory()->getPokeBank()->getPokemons();
getPokeBan() function is in inventory I think.
Thanks for reporting, I fixed it along with some other adjustments.
I tested this examples because my code doesn't work now : examples/GUI_BestCpPokemonDetails.php
But this line is wrong:
$pokez = $pokemonGoApi->getInventory()->getItems()->getPokeBank()->getPokemons();
Solution:
$pokez = $pokemonGoApi->getInventory()->getPokeBank()->getPokemons();
getPokeBan() function is in inventory I think.