Skip to content

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

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

docs

Get recent games by summoner ID.

/api/lol/{region}/v1.3/game/by-summoner/{summonerId}/recent

Standard Params

N/A

Object Param + Callback

  • getRecentGames({ region, accountId/accId (int), id/summonerId/playerId (int), name (str) }, cb)
  • Namespaced Functions: Game.getRecentGames, Game.getRecent, Game.recent, Game.get
k.Game.get({ id: 20026563 }, KindredAPI.print)

k.Game.recent({ id: 20026563 }, KindredAPI.print)

k.Game.get({ name: 'Contractz' }, KindredAPI.print)
      .then(data => console.log(data))
      .catch(error => console.error(error))