-
Notifications
You must be signed in to change notification settings - Fork 34
LOL STATUS V3
Chau Nguyen edited this page May 26, 2017
·
9 revisions
Because Status only has 1 endpoint, I decided to make get
work if you just pass in a REGION as well.
/lol/status/v3/shard-data
- getShardStatus([region], [cb])
- Namespaced Functions: Status.getShardStatus, Status.getStatus, Status.get
k.Status.get()
.then(data => console.log(data))
.catch(error => console.error(error))
- getShardStatus({ region }, cb)
- Namespaced Functions: Status.getShardStatus, Status.getStatus, Status.get
const config = {
region: REGIONS.KOREA
}
k.Status
.get(config)
.then(data => console.log(data))
.catch(error => console.error(error))
k.Status.get(KindredAPI.print)