You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello there,
how can I get the info about all pokemon into pokemons array?
$pokemons = $pokemonGoApi->getInventory()->getItems()->getPokeBank();
for($i=0; $i<sizeof($pokemons); $i++)
{
echo $pokemons[i]->getPokemonId(); // <- This line does not work
}
SOLVED:
foreach($pokemons as $key=>$item)
{
echo $item->getPokemonId();
}
Im try to get stats and the pokemonCaughtByType is Rk����)��B1����,
$pokemonGoApi->getInventory()->getItems()->getStats()->getPokemonCaughtByType();
whats the encode should be?
The text was updated successfully, but these errors were encountered: