rubenvereecken / pokemongo-api

Pokemon Go API for Python
Other
358 stars 120 forks source link

getProfile doesn't include all data from protos #75

Closed earshel closed 8 years ago

earshel commented 8 years ago

First off, thank you very much for the API. I am using it in one of my projects and it's fantastic. I've come to a point in my project where I'd like to query the server for player stats and I've hit a roadblock. I've looked at the protos and it seems like the PlayerData_Pb2 does not contain the /data/player/playerstats_pb2 proto, and I am not familiar enough with ProtoBuf to fix it. I'm hoping that you might be able to offer some insight. Thanks again!

dnsBlah commented 8 years ago

because its in inventory, for some reason ;-)

dmadisetti commented 8 years ago

The player stats come in the inventory request, so it's just slapped on to the Inventory object

earshel commented 8 years ago

Ah, who'd have guessed. Thanks for the prompt reply!