drish / rioter

Riot Games API gem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rioter (wip)

Riot Games API ruby gem.

Build Status

Installation

Add this line to your application’s Gemfile:

gem 'rioter'

Getting Started

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:

To get started with development and testing:

git clone https://github.com/drish/rioter.git
cd rioter
bundle install
bundle exec rake test

About

Riot Games API gem

License:MIT License


Languages

Language:Ruby 100.0%