P3D-Legacy/pokemon3d.net

REST API request for all in-game emblems

AKaravas opened this issue · 0 comments

i am gonna need a REST API request for all the emblems and their images. Since the achievement emblem does not only contain the Gym badges, but other stuff as well plus some of the emblems are for P3D only, i would require a list with the name and the image URL of the emblem. The images URL should only contain the name of the emblem. No prefixes or suffixes. Or alternative, the array key should contain the name of the emblem. Again without prefixes or suffixes.

An example:

'emblems' => [
    'boulder' => [
        'name' => 'Boulder',
        'image' => 'https://pokemon3d.net/assests/emblems/boulder.png' // Where the image is hosted isnt relevant, it is just an example
     ],
     ...
]

I would prefer the images as PNG so we can use the transparency 🙂