ritoplz-tier

0.0.4 • Public • Published

ritoplz-tier

Get League of Legends tier information

Codeship Status for bukinoshita/ritoplz-tier Build Status GitHub release GitHub license

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

Package Sidebar

Install

npm i ritoplz-tier

Weekly Downloads

3

Version

0.0.4

License

MIT

Last publish

Collaborators

  • bukinoshita