https://github.com/drish/rioter
Riot Games API gem
https://github.com/drish/rioter
Last synced: about 2 months ago
JSON representation
Riot Games API gem
- Host: GitHub
- URL: https://github.com/drish/rioter
- Owner: drish
- License: mit
- Created: 2019-10-26T19:10:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-19T22:19:24.000Z (over 6 years ago)
- Last Synced: 2025-03-05T11:50:26.507Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 38.1 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rioter (wip)
Riot Games API ruby gem.
[](https://travis-ci.org/drish/rioter)
## Installation
Add this line to your application’s Gemfile:
```ruby
gem 'rioter'
```
## Getting Started
```ruby
client = Rioter::Client.new(api_key, region)
# entries by tier
entries = client.leagues.by_queue_tier_division(queue: "RANKED_SOLO_5x5", tier: "IRON" , division: "IV", page: 3)
# apex leagues
grandmaster_entries = client.leagues.by_grandmaster_league(queue: "RANKED_SOLO_5x5")
challenger_entries = client.leagues.by_challenger_league(queue: "RANKED_SOLO_5x5")
```
## Contributing
Everyone is encouraged to help improve this project. Here are a few ways you can help:
- [Report bugs](https://github.com/drish/rioter/issues)
- Fix bugs and [submit pull requests](https://github.com/drish/rioter/pulls)
- Write, clarify, or fix documentation
- Suggest or add new features
To get started with development and testing:
```sh
git clone https://github.com/drish/rioter.git
cd rioter
bundle install
bundle exec rake test
```