NicklasWallgren / PokemonGoAPI-PHP

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

[Help Wanted] Pokemon Moves #146

Closed TacoBytes closed 7 years ago

TacoBytes commented 7 years ago

When retrieving a user's pokemon collection, the array returns integers and it use to return a string (for example 'move1' and 'move2' use to return a value like 'THUNDER_SHOCK_FAST' and 'DISCHARGE'). Is there a quick way to get a list of moves with the integer value assigned to it (I am assuming it is an ID associated with a string) being returned?

DrDelay commented 7 years ago

There are Enum classes for what you are looking for:

The second (bramp) is the one used in this project.

TacoBytes commented 7 years ago

@Drdelay thank you.