mailist
v1.0.3
Published
An Unofficial Anilist API Wrapper And Strongly Typed
Downloads
423
Maintainers
Readme
MaiList
An Unofficial Anilist API Wrapper And Strongly Typed
- Documentation not yet
Installing
#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