This is defunct, both because it is old code (and I think the Telsa (HTTP lib) library has drifted too far, ssl
no longer compiled, and its on an old version of Jikan (v3, not v4). I would only use this as example code to perhaps make a new API client.
A thin elixir wrapper for the Jikan API.
See the documentation for usage.
alias JikanEx.Request
client = JikanEx.client()
response = client |> Request.anime!(1)
IO.puts response["title"] # Prints 'Cowboy Bebop'
Add the following to your mix.exs
:
def deps do
[
{:jikan_ex, "~> 0.1.5"}
]
end