An Unofficial Anilist API Wrapper And Strongly Typed
- Documentation not yet
- Discord.js Example
#npm
npm install mailist
#yarn
yarn add mailist
- 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(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(query: string)
const { Character } = require("mailist");
const get = new Character();
function getChar() {
get.character("Elaina")
.then(res => {
console.log(res)
})
}
getChar()
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