Riot Games API ruby gem.
Add this line to your application’s Gemfile:
gem 'rioter'
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")
Everyone is encouraged to help improve this project. Here are a few ways you can help:
- Report bugs
- Fix bugs and submit pull requests
- Write, clarify, or fix documentation
- Suggest or add new features
To get started with development and testing:
git clone https://github.com/drish/rioter.git
cd rioter
bundle install
bundle exec rake test