如何从 riot API 请求符文 png

How to request rune png from riot API

请求符文特定图像时遇到问题,

我想要找到的是某种形式的请求符文图标的方法。 我已经从 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).

找到了图标的路径

--

示例图标:

示例路径来自 json: perk-images/Styles/7200_Domination.png

正如您可能发现的那样,符文图标不在默认的 ddragon 路径中。由于某些原因,它们存储在不同的路径中: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。看起来你的示例图标是巫术而不是支配。