Chemist
[Chemist Documentation]
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 mixInstallation
-
Add
chemistto your list of dependencies inmix.exs:
```elixir
def deps do
[{:chemist, "~> 0.1.0"}]
end
```-
Ensure
chemistis started before your application:
```elixir
def application do
[applications: [:chemist]]
end
```Other implementations for the Riot API in Elixir
- [velkoz]
- [viktor]
[Chemist Documentation]:https://hexdocs.pm/chemist [Riot Games Developer]:https://developer.riotgames.com/ [velkoz]:https://github.com/Tim-Machine/velkoz [viktor]:https://github.com/josephyi/viktor