Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 17 days 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 (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-04T04:30:44.000Z (over 5 years ago)
- Last Synced: 2024-12-01T20:15:59.457Z (about 1 month ago)
- Topics: league-of-legends, nodejs, ritoplz
- Language: JavaScript
- Homepage:
- Size: 62.5 KB
- Stars: 2
- Watchers: 2
- 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[![Codeship Status for bukinoshita/ritoplz-tier](https://app.codeship.com/projects/7525de90-a697-0134-62b2-423aeef756c2/status?branch=master)](https://app.codeship.com/projects/191081)
[![Build Status](https://travis-ci.org/bukinoshita/ritoplz-tier.svg?branch=master)](https://travis-ci.org/bukinoshita/ritoplz-tier)
[![GitHub release](https://img.shields.io/github/release/bukinoshita/ritoplz-tier.svg)](https://www.npmjs.com/package/ritoplz-tier)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](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`
RequiredGet 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