Runes & Masteries

Get Masteries

getMasteries(string) Or getMasteries([array])

Get mastery pages of the summoner ID or an array of up to 40 summoner IDs.

lol.getMasteries('48641392').then((result) => {
  console.log(result);
});
{
  "48641392": {
    "pages": [
      {
        "masteries": [
          {
            "id": 6343,
            "rank": 1
          },
          {
            "id": 6131,
            "rank": 5
          },
          ...
        ],
         "id": 34752849,
         "name": "AP/Cass",
         "current": true
      }
    ],
    "summonerId": 48641392
  }
}

Get Runes

getRunes(string) Or getRunes([array])

Get rune pages of the summoner ID or array of summoner IDs.

lol.getRunes('48641392').then((result) => {
  console.log(result);
});
{
  "48641392": {
    "pages": [
      {
        "id": 68019410,
         "slots": [
            {
             "runeId": 5273,
             "runeSlotId": 1
            },
            {
             "runeId": 5273,
             "runeSlotId": 2
            },
            ...
          ],
          "name": "AP",
          "current": true
        },
      ...
    ],
    "summonerId": 48641392
  }
}

results matching ""

    No results matching ""