public-waifulist

0.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i public-waifulist

Weekly Downloads

0

Version

0.0.2

License

ISC

Unpacked Size

5.79 kB

Total Files

3

Last publish

Collaborators

  • mechslayer