https://github.com/bukinoshita/ritoplz-tier
Get League of Legends tier information
https://github.com/bukinoshita/ritoplz-tier
league-of-legends nodejs ritoplz
Last synced: 7 months ago
JSON representation
Get League of Legends tier information
- Host: GitHub
- URL: https://github.com/bukinoshita/ritoplz-tier
- Owner: bukinoshita
- License: mit
- Created: 2016-12-17T14:06:28.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-06-04T04:30:44.000Z (over 6 years ago)
- Last Synced: 2025-03-11T23:37:22.396Z (8 months ago)
- Topics: league-of-legends, nodejs, ritoplz
- Language: JavaScript
- Homepage:
- Size: 62.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ritoplz-tier
> Get League of Legends tier information
[](https://app.codeship.com/projects/191081)
[](https://travis-ci.org/bukinoshita/ritoplz-tier)
[](https://www.npmjs.com/package/ritoplz-tier)
[](https://raw.githubusercontent.com/bukinoshita/ritoplz-tier/master/LICENSE)
## Install
```bash
$ npm install --save ritoplz-tier
```
## Usage
```js
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](https://github.com/ritoplz/ritoplz) - League of Legends Rankings
## License
[MIT](https://raw.githubusercontent.com/bukinoshita/ritoplz-tier/master/LICENSE) © Bu Kinoshita