ritoplz-tier
v0.0.4
Published
Get League of Legends tier information
Downloads
13
Maintainers
Readme
ritoplz-tier
Get League of Legends tier information
Install
$ npm install --save ritoplz-tier
Usage
const getTier = require('ritoplz-tier')
getTier('bronze')
// {
// "flag": {
// "original": "https://ritoplz-tier.now.sh/bronze.png",
// "small": "https://ritoplz-tier.now.sh/bronze_small.png",
// "large": "https://ritoplz-tier.now.sh/bronze_large.png"
// },
// "tier": {
// "name": "bronze"
// }
// }
API
getTier(input)
input
Type: string
Options: bronze
, silver
, gold
, platinum
, diamond
, master
, challenger
, unranked
Required
Get tier information
Related
Ritoplz - League of Legends Rankings
License
MIT © Bu Kinoshita