Riot LoL
Library for Riot's League of Legends Static CDN Data.
Installation
$ npm install --save riot-lol
Usage
Import
;
getChampions()
lol;//=> array of champions
getChampion()
lol ;//=> sprite CSS of the champion "Aatrox"
getItems()
lol;//=> array of items
getItem()
lol ;//=> plain text description of the item "Boots of Speed"
For the cases in which multiple items share the same name:
lol ;//=> array of items with the name "Enchantment: Warrior"
getRunes()
lol;//=> array of runes
getRune()
lol ;//=> description of the rune "Lesser Glyph of Attack Damage"
getMasteries()
lol;//=> array of masteries
getMastery()
lol ;//=> array with the descriptions of the mastery "Precision"
getSummoners()
lol;//=> array of summoner spells
getSummoner()
lol ;//=> description of the summoner spell "Barrier"
For the cases in which multiple summoner spells share the same name:
lol ;//=> array of summoner spells with the name "Nexus Siege: Siege Weapon Slot"
License
MIT