Skip to content

RUNES V3

Chau Nguyen edited this page May 8, 2017 · 1 revision

docs

Get rune pages for a given summoner ID.

/lol/platform/v3/runes/by-summoner/{summonerId}

Object Param + Callback

  • getRunes({ region, accountId/accId (int), id/summonerId/playerId (int), name (str) }, cb)
  • Namespaced Functions: Runes.get, Summoner.getRunes, Summoner.runes
k.Runes.get({ id: 20026563 }, KindredAPI.print)

k.Runes.get({ name: 'Contractz' }, KindredAPI.print)

k.Runes.get({ accId: 47776491 }, KindredAPI.print)

const config = {
    name: 'sktt1pEaNuT',
    region: REGIONS.KOREA
}

k.Runes.get(config)
       .then(data => console.log(data))
       .catch(error => console.error(error))

Standard Params

  • getRunesById(id, [region], [cb])
  • Namespaced Functions: Runes.by.name
k.Runes.by.id(32932398, KindredAPI.print)

k.Runes.by.id(32932398, REGIONS.NORTH_AMERICA)
       .then(data => console.log(data))
       .catch(error => console.error(error))
  • getRunesByAccountId(accId, [region], [cb])
  • Namespaced Functions: Runes.by.account
k.Runes.by.account(47776491, KindredAPI.print)
  • getRunesByName(name, [region], [cb])
  • Namespaced Functions: Runes.by.name
k.Runes.by.name('Contractz')
          .then(data => console.log(data))
          .catch(error => console.error(error))