Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

andresperezl/riot_api

Repository files navigation

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.

About

Gem to interacts with Riot Games API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published