Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joeychilson/riot_games_client

An Elixir HTTP client for the Riot Games API.
https://github.com/joeychilson/riot_games_client

elixir league-of-legends riot-games

Last synced: 1 day ago
JSON representation

An Elixir HTTP client for the Riot Games API.

Awesome Lists containing this project

README

        

# RiotGames

An Elixir HTTP Client for the Riot Games API

## Installation

`RiotGames` is available on Hex. Add it to your list of dependencies in mix.exs:

```elixir
def deps do
[
{:riot_games_client, "~> 0.1.0"}
]
end
```

## Configuration

Add your API key to your config.exs file:

```elixir
config :riot_games_client, :api_key, ""
```

You can set rate limit for API calls.

```elixir
config :riot_games_client, :interval, 120_000
config :riot_games_client, :max, 100
```