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 mix
Installation
Add
chemist
to your list of dependencies inmix.exs
:def deps do [{:chemist, "~> 0.1.0"}] end
Ensure
chemist
is started before your application: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