New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@void206551/mwl-api

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@void206551/mwl-api

A Node wrapper for My Waifu List API

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@void206551/mwl-api

A Node wrapper for MyWaifuList.

Install:

npm i @void206551/mwl-api --save  

Usage:

const MWL = require('@void206551/mwl-api')  
const Waifu = new MWL("Your API Key")  
  
// Logs the daily waifu  
Waifu.dailyWaifu().then(console.log).catch(console.error)  

Functions:

Waifu
  • getWaifu(slugOrId) → Gets the information about a waifu
  • getWaifuImages(slugOrId) → Returns up to 10 images of a waifu
  • getWaifuByPage(letter, page) → Gets a list of waifus from a given letter and page
  • dailyWaifu() → Returns the daily waifu
  • randomWaifu() → Returns a random waifu
Currently Season
  • getAiring() → Gets all the currently airing shows
  • getBestWaifus() → Gets all the best waifus from this season
  • getPopularWaifus() → Gets the most popular waifus from this season
  • getTrashWaifus() → Gets the most trashed waifus form this season
Series
  • getSeries(slurOrId) → Gets information about a series
  • getSeriesByPage(letter) → Gets a list of series from a certain letter
  • getSeriesBySeason(season, year) → Gets a list of series that aired during a certin season of a year
    • season: spring, summer, fall, winter
  • getSeriesWaifus(slugOrId) → Gets the waifus from a certain series from a slur or ID
User
  • getUser(userId) → Gets the information from a user
  • getUserWaifus(userId, type) → Gets the waifus from a user
    • type: trash, like, created
  • getUserLists(userId) → Gets the lists a user has
  • getUserList(userId, listId) → Gets the data from a list
  • search(string) → Search a string
  • searchBeta(string) → Search a string (Better results)
  • searchWaifu(name) → Search a waifu name
  • searchSeries(name) → Search a series name

Keywords

FAQs

Package last updated on 07 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc