1.0.3 • Published 3 years ago

mailist v1.0.3

Weekly downloads
37
License
MIT
Repository
github
Last release
3 years ago

MaiList

An Unofficial Anilist API Wrapper And Strongly Typed

Installing

Version

#npm
npm install mailist

#yarn
yarn add mailist

Example Usage

Anime

Methods
  • anime(query: string)
  • Mal(id: string)
  • voiceActors(query: string)
const { Anime } = require("mailist");
const get = new Anime();

function getAnime() {
    get.anime("Majo No Tabi-Tabi")
        .then(res => {
            console.log(res)
        });
}
getAnime()
  • Getting voice actors from anime title
function voiceActors() {
    get.voiceActors("Aho Girl")
        .then(res => {
            console.log(res)
        });
}
voiceActors()

Manga

Methods
  • manga(query: string)
  • Mal(id: string)
const { Manga } = require("mailist");
const get = new Manga();

function getManga() {
    get.manga("Quintessential Quintuplets")
        .then(res => {
            console.log(res)
        })
}
getManga()

Character

Methods
  • character(query: string)
const { Character } = require("mailist");
const get = new Character();

function getChar() {
    get.character("Elaina")
        .then(res => {
            console.log(res)
        })
}
getChar()

Nb

Actually i don't know how to write the docs, but i hope you understand, and if you have any questions, you can join my Discord Server

© Aizuu