Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

purarue/jikan_ex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JikanEx Build Status Hex.pm PRs Welcome

STATUS

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.

Quickstart

alias JikanEx.Request
client = JikanEx.client()
response = client |> Request.anime!(1)
IO.puts response["title"]  # Prints 'Cowboy Bebop'

Installation

Add the following to your mix.exs:

def deps do
  [
    {:jikan_ex, "~> 0.1.5"}
  ]
end