Basic wrapper for the 'public' mywaifulist api
Example
const waifulist = require("public-waifulist");
let client = new waifulist();
let airing_animes = await client.getAiringAnimes();
let characters = await client.getSerieCharacters(airing_animes[0].slug);
getAiringAnimes() retrieves the currently airing animes
getRandom(maxpage) retrieves a random character
getCharacter(id) retrieves a character by id
searchCharacter({params}) searchs a character
getCharacterGallery(id, page) retrieves a character gallery
getCharacterComments(id, page) retrieves comments posted on a character
getSerieCharacters(slug) retrieves a serie characters
getUserLiked(id, page) retrieves characters liked by a user
getUserTrashed(id, page) retrieves characters trashed by a user
getUserSubmitted(id, page) retrieves characters submitted by a user
getUserWatchlist(id) retrieves a user watchlist
getUserFollowers(id) retrieves a user followers
getUserComments(id, page) retrieves comments posted by a user