ByMykel / CSGO-API

An unofficial JSON API for Counter-Strike 2 in multiples languages. List of skins, cases, stickers, collections, collectibles, agents, graffiti, keys, patches and music kits.
https://bymykel.github.io/CSGO-API/
MIT License
283 stars 34 forks source link

Graffiti colors missing in the response even tough CDN's for them exist #121

Closed sztywnygit closed 2 months ago

sztywnygit commented 2 months ago

Hi, I've noticed that the graffiti King Me (Battle Green) is missing some of it's available color tints in the response even though these are available on your cdn. Response contains the following tints:

Looking at for example Battle Green cdn: raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/stickers/default/crown_7_png.png We see that 7 corresponds to the tint id. We can change that to any value from 1 - 6 and will be able to get the image for the missing tints:

Of course with this knowledge I can easily work this around but it would be nice if this was inside the response. Not sure if there are any more like this, just letting you know :)

ByMykel commented 2 months ago

Hi, you are right. All the graffiti tints were done manually, so there could be more errors like this. Additionally, some graffiti might not have all the tints because the wiki I used may not be updated