Chemist
Chemist is an Elixir wrapper for the Riot API.
Preparation
You will need a Riot Api Key, which you can get by signing up at the Riot Games Developer site. Set the environmental variable "RIOT_API_KEY" to your key.
Sample standalone startup script:
#!/bin/bash
export RIOT_API_KEY="myriotkey"
iex -S mix
Installation
- Add
chemist
to your list of dependencies inmix.exs
:
```elixir
def deps do
[{:chemist, "~> 0.1.0"}]
end
```
- Ensure
chemist
is started before your application:
```elixir
def application do
[applications: [:chemist]]
end
```