NicklasWallgren / PokemonGoAPI-PHP

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

profileData error #113

Closed paoloalby closed 8 years ago

paoloalby commented 8 years ago

I downloaded the last release and now I can't get the player profile data. Since last week, everything ok. Now I get this error

immagine

f2008305 commented 8 years ago

me too. $profileData = $pokemonGoApi->getProfile()->getProfileData(); it gives error because $pokemonGoApi->getProfile() give empty result

Raphaelbm commented 8 years ago

Yes, same problem !

NicklasWallgren commented 8 years ago

The getProfileData() method has been deprecated and removed.

Use getData() instead, or access the profile data directly.

NicklasWallgren commented 8 years ago

I'll will update the example.

NicklasWallgren commented 8 years ago

Have a look at the RetrievePlayerProfileExample example.

Resolved.