ToolKit Discord
  • ⭐Welcome
  • 📍Clases
    • API
    • Wallhaven
  • 🔗Types
    • FetchInviteOptions
Powered by GitBook
On this page
  • Constructor
  • .randomizeAnime(options)
  • .login(token)
  1. Clases

Wallhaven

Wallpaper extractor from the famous site wallhaven.cc

PreviousAPINextFetchInviteOptions

Last updated 1 year ago

Rate Limit

Each request per token is 45 per minute, these are reset every minute once no one has used the token to request a request.

Constructor

new Wallhaven()
Properties
Methods
Events

.randomizeAnime(options)

Get a detailed array of 24 randoms anime wallpapers

Properties
Type
Description

nsfw

Boolean

By making a request this will also add wallpapers nsfw

onlyNSFW

Boolean

nsfw solo wallpapers Anime

Returns:

Examples:

// Log: { data... }
console.log(await w.randomizeAnime({ nsfw: true })

.login(token)

Get your user.

📍
Promise
token here
randomizeAnime
login