0.0.4 • Published 9 years ago
ritoplz-tier v0.0.4
ritoplz-tier
Get League of Legends tier information
Install
$ npm install --save ritoplz-tierUsage
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