Armax / Pokemon-GO-node-api

Pokemon GO api node.js library
MIT License
875 stars 198 forks source link

Abillity to recieve level up rewards #155

Closed WesVleuten closed 8 years ago

WesVleuten commented 8 years ago

As far as I am aware there is no current way to recieve these rewards. This feature would be great for automation

antonrez89 commented 8 years ago

Does anybody know how to get the current user level?

rraziel commented 8 years ago

It's message 128: LEVEL_UP_REWARDS. In the message you specify your level, in the response you get a list of items (awarded and unlocked) It'd probably be easier if this project used the POGOProtos files

cokeeffekt commented 8 years ago

i added a pull request for this. https://github.com/Armax/Pokemon-GO-node-api/pull/154