Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/joeychilson/riot_games_client
- Owner: joeychilson
- License: mit
- Created: 2023-08-19T10:14:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-04T18:15:23.000Z (9 months ago)
- Last Synced: 2024-10-28T22:46:21.693Z (19 days ago)
- Topics: elixir, league-of-legends, riot-games
- Language: Elixir
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```