NicklasWallgren / PokemonGoAPI-PHP

Pokemon Go API PHP library
BSD 2-Clause "Simplified" License
130 stars 51 forks source link

$inventory = $pokemonGoApi->getInventory(); #125

Closed f2008305 closed 8 years ago

f2008305 commented 8 years ago

$inventory = $pokemonGoApi->getInventory(); this function is not working anymore... probably some update on niantic side...

NicklasWallgren commented 8 years ago

Can't reproduce the problem. Is the account banned?

f2008305 commented 8 years ago

no it's not. i tested on other account and same. moreover i can get correctly $profileData = $pokemonGoApi->getProfile()->getData(); but not the getInventory() and this cause the error...

f2008305 commented 8 years ago

now on all other accounts i get this: Fatal error: Class 'Illuminate\Support\Collection' not found in /var/www/pk/private/vendor/nicklasw/pkm-go-api/src/Api/Pokemon/Collection/PokemonCollection.php on line 8

NicklasWallgren commented 8 years ago

See DrDelay answer in https://github.com/NicklasWallgren/PokemonGoAPI-PHP/issues/120.

"you probably didn't update (composer update / git fetch origin && git pull / git fetch upstream/master && git merge upstream/master)."