-
Notifications
You must be signed in to change notification settings - Fork 34
SUMMONER V3
Chau Nguyen edited this page May 8, 2017
·
1 revision
/lol/summoner/v3/summoners/by-account/{accountId}
- getSummoner({ region, accountId/accId (int), name (str) }, cb)
- Namespaced Functions: Summoner.getSummoner, Summoner.get
k.Summoner.get({ accountId: 123123 }, KindredAPI.print)
- getSummonerByAccountId(accId, [region], [cb])
- Namespaced Functions: Summoner.by.account
k.Summoner.by.account(47776491, KindredAPI.print)
k.Summoner.by.account(47776491, REGIONS.NORTH_AMERICA, KindredAPI.print)
k.Summoner.by.account(47776491)
.then(data => console.log(data))
.catch(error => console.error(error))
/lol/summoner/v3/summoners/by-name/{summonerName}
- getSummoner({ region, id/summonerId/playerId (int) }, cb)
- Namespaced Functions: Summoner.getSummoner, Summoner.get
k.Summoner.get({ name: 'Contractz' }, KindredAPI.print)
- getSummonerByName(name, [region], [cb])
- Namespaced Functions: Summoner.by.name
k.Summoner.by.name('Contractz', KindredAPI.print)
k.Summoner.by.name('Contractz', REGIONS.NORTH_AMERICA, KindredAPI.print)
k.Summoner.by.name('Contractz')
.then(data => console.log(data))
.catch(error => console.error(error))
/lol/summoner/v3/summoners/{summonerId}
- getSummoner({ region, id/summonerId/playerId (int) }, cb)
- Namespaced Functions: Summoner.getSummoner, Summoner.get
k.Summoner.get({ id: 20026563 }, KindredAPI.print)
- getSummonerById(id, [region], [cb])
- Namespaced Functions: Summoner.by.id
k.Summoner.by.id(32932398, REGIONS.NORTH_AMERICA, KindredAPI.print)