riot-games-api

Get all runes with id and name from League of legends API


When performing requests to the riot API endpoint /lol/match/v4/matches/{matchId} the response contains rune data for each player in the match .e.g

"perk0": 8005,
"perk0Var1": 2107,
"perk0Var2": 1319,
"perk0Var3": 788,

These are only the Id values for the runes. Where can I get the corresponding name for the rune ?

I've tried the following request : https://euw1.api.riotgames.com/lol/static-data/v1/runes , but returns the following response :

{
    "status": {
        "message": "Forbidden",
        "status_code": 403
    }
}

Solution

  • I found the resource that stores all the needed data here : http://ddragon.leagueoflegends.com/cdn/10.16.1/data/en_US/runesReforged.json