Project

riotapi

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Gem to interacts with Riot Games API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 9.0
~> 10.0
~> 3.5
~> 0.42

Runtime

 Project Readme

RiotApi

Gem Version Build Status

Gem to easily interact with the Riot API

Installation

Add this line to your application's Gemfile:

gem 'riotapi'

And then execute:

$ bundle

Or install it yourself as:

$ gem install riotapi

Usage

First set the enviroment variable RIOT_API_KEY with the key provided by Riot, or configure the gem with your key

RiotAPI.configure do |config|
  config.api_key = 'YOU_API_KEY_HERE'
end

You could additionally set the endpoint region with config.region= to any of the slugs from RiotAPI::Region.all

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/riot_api.