MAL Scrapper v0.1.2 MalScrapper View Source

Link to this section Summary

Link to this section Types

Link to this type

genres()

View Source
genres() ::
  :Action
  | :Adventure
  | :Cars
  | :Comedy
  | :Dementia
  | :Demons
  | :Drama
  | :Ecchi
  | :Fantasy
  | :Game
  | :Harem
  | :Hentai
  | :Historical
  | :Horror
  | :Josei
  | :Kids
  | :Magic
  | :"Martial Arts"
  | :Mecha
  | :Military
  | :Music
  | :Mystery
  | :Parody
  | :Police
  | :Psychological
  | :Romance
  | :Samurai
  | :School
  | :"Sci-Fi"
  | :Seinen
  | :Shoujo
  | :"Shoujo Ai"
  | :Shounen
  | :Shounen
  | :"Shounen Ai"
  | :"Slice of Life"
  | :Space
  | :Sports
  | :"Super Power"
  | :Supernatural
  | :Thriller
  | :Vampire
  | :Yaoi
  | :Yuri
Link to this type

valid_top_types()

View Source
valid_top_types() ::
  :airing
  | :upcoming
  | :tv
  | :movie
  | :ova
  | :special
  | :bypopularity
  | :favorite

Link to this section Functions

Link to this function

get_anime_by_genre(genre, limit \\ 1)

View Source
get_anime_by_genre(genres(), Integer.t()) :: List.t()
Link to this function

get_top_anime(type, limit \\ 1)

View Source
get_top_anime(valid_top_types(), Integer.t()) :: List.t()