zacholade / Rift-Companion

1 stars 0 forks source link

Updating static data for each patch #12

Open zacholade opened 5 years ago

zacholade commented 5 years ago

Every update to league of legends brings new items, champions and often icons. Data dragon ( https://developer.riotgames.com/static-data.html ) is a web service that is meant to centralize League of Legends game data and assets, including champions, items, runes, masteries, summoner spells, and profile icons. AKA It's amazing.

The endpoints are automatically maintained for the json data; however the profile icons, champion splash art and so on are not.

They can be downloaded from: https://ddragon.leagueoflegends.com/cdn/dragontail-6.24.1.tgz

If we are going to use discord emojis (yes this will require a shit tonnes of servers according to a current league bot owner) Screenshot from Gyazo I could implement a pipeline which automatically tries to lookup an icon in a server and if it doesn't exist, it will create an emoji on a selection of servers. Something like this seems reasonable.

If updating can be as simple as uploading a new static icon data; that would be great. As easy as possible!