0.0.4 • Published 7 years ago

ritoplz-tier v0.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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