javascriptrequestriot-games-api

How to request rune png from riot API


Having issues with requesting a rune specific image,

What I'm trying to find is some form of way to request a rune icon. I've gotten as far as to find the path to the icon from this json file. but attempts at trying to use that path, have failed. I'm sure what i'm missing is fairly basic but Its one of those days where I simply cannot figure it out. (google search lead to nothing and it looks like the rune section is undocumented).

--

exemplar icon: enter image description here

exemplar path from json: perk-images/Styles/7200_Domination.png


Solution

  • As you probably found, rune icons are NOT in the default ddragon path. For some reasons they are stored in a different path: https://ddragon.canisback.com/img/. For you exmaple, you can add the image url you found in the json file to the path, like https://ddragon.canisback.com/img/perk-images/Styles/7200_Domination.png. It looks like your example icon is sorcery rather than domination.