-
Notifications
You must be signed in to change notification settings - Fork 34
SPECTATOR V3
Chau Nguyen edited this page May 12, 2017
·
2 revisions
/lol/spectator/v3/active-games/by-summoner/{summonerId}
N/A
- getCurrentGame({ region, accountId/accId (int), id/summonerId/playerId (int), name (str) }, cb)
- Namespaced Functions: CurrentGame.getCurrentGame, CurrentGame.get
k.CurrentGame.get({ name: 'Contractz' }, KindredAPI.print)
k.CurrentGame.get({ id: 32932398 }, KindredAPI.print)
/lol/spectator/v3/featured-games
- listFeaturedGames([region], [cb])
- Namespaced Functions: FeaturedGames.list
k.FeaturedGames.list(REGIONS.KOREA, KindredAPI.print)
k.FeaturedGames
.list()
.then(data => console.log(data))
.catch(error => console.error(error))
- getFeaturedGames({ region }, cb)
- Namespaced Functions: FeaturedGames.getFeaturedGames, FeaturedGames.get
k.FeaturedGames
.get()
.then(data => console.log(data))
.catch(error => console.error(error))
k.FeaturedGames.get({ region: 'na' }, KindredAPI.print)