Skip to content

STATS V1.3 (DEPRECATED, won't work anymore and is removed from kindred)

Chau Nguyen edited this page Jul 23, 2017 · 1 revision

docs

Get ranked stats by summoner ID.

/api/lol/{region}/v1.3/stats/by-summoner/{summonerId}/ranked

Standard Params

N/A

Object Param + Callback

  • getRankedStats({ region, id/summonerId/playerId (int), name (str), options (object) }, cb)
  • Namespaced Functions: Stats.getRankedStats, Stats.ranked
k.Stats.ranked({ id: 20026563 }, KindredAPI.print)

const config = {
    id: 20026563,
    options: {
        season: 'SEASON2016'
    }
}

k.Stats.ranked(config, KindredAPI.print)

Get player stats summaries by summoner ID.

/api/lol/{region}/v1.3/stats/by-summoner/{summonerId}/summary

Standard Params

N/A

Object Param + Callback

  • getStatsSummary({ region, id/summonerId/playerId (int), name (str), options (object) }, cb)
  • Namespaced Functions: Stats.getStatsSummary, Stats.summary
k.Stats.summary({ id: 20026563 }, KindredAPI.print)

k.Stats.summary({ name: 'Contractz' }, KindredAPI.print)

const config = {
    name: 'Contractz',
    options: {
        season: 'SEASON2015'
    }
}

k.Stats.summary(config, KindredAPI.print)