mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
25 lines
546 B
JavaScript
25 lines
546 B
JavaScript
const CDragonRequest = require('../CDragonRequest')
|
|
|
|
class CDragonEndpoint {
|
|
champions() {
|
|
return new CDragonRequest('champion-summary.json', 36000).execute()
|
|
}
|
|
|
|
items() {
|
|
return new CDragonRequest('items.json', 36000).execute()
|
|
}
|
|
|
|
perks() {
|
|
return new CDragonRequest('perks.json', 36000).execute()
|
|
}
|
|
|
|
perkstyles() {
|
|
return new CDragonRequest('perkstyles.json', 36000).execute()
|
|
}
|
|
|
|
summonerSpells() {
|
|
return new CDragonRequest('summoner-spells.json', 36000).execute()
|
|
}
|
|
}
|
|
|
|
module.exports = CDragonEndpoint
|