Don't forget to check the documentation for a complete reference to the library.
First include godfist
in your mix.exs
and add it to your applications.
[extra_applications: :godfist, ...]
...
{:godfist, "~> 0.5.0"}
You can use {:godfist, github: "aguxez/godfist"}
for the development version.
Remember to set your api key on your config.exs
with the next params.
config :godfist,
token: "YOUR API KEY",
rates: :dev # or :prod
Or export the api key as "RIOT_TOKEN": export RIOT_TOKEN="token"
and start making calls.
- Deprecated some masteries and runes functions in favor of reforged runes.
- Removed
passive/2
fromGodfist.DataDragon
.
- Deprecated
Godfist.League.get_all/2
forGodfist.League.league_by_id/2
.
- Deprecated
Godfist.League.get_entry/2
forGodfist.League.positions/2
. - Rate limit options are not given to
config.exs
anymore, just:token
. - Implemented a different way of handling rate limits, soon to be overridable for your own solution.
- Removed some queues from the
Godfist.League
module.
- Add tournament endpoints.
- Let users implement their own rate limit solutions instead of the built-in.