README
Anime Wallpaper
Get Anime wallpapers based on scrapping from websites.
Documentation
Example Usage
- Getting Wallpaper from Alphacoders
const { AnimeWallpaper } = require("anime-wallpaper");
const wall = new AnimeWallpaper();
async function Wallpaper1() {
const wallpaper = await wall.getAnimeWall1({ search: "to love ru", page: 1 })
return console.log(wallpaper)
}
Wallpaper1()
- Getting Wallpaper from Wallpaper Cave
async function Wallpaper2() {
const wallpaper = await wall.getAnimeWall2("keqing")
return console.log(wallpaper)
}
Wallpaper2()
- Getting Ramdon Wallpaper from 4K Wallpapers
async function Wallpaper3() {
const wallpaper = await wall.getAnimeWall3()
return console.log(wallpaper)
}
Wallpaper3()
- Getting Wallpaper from WallHaven
async function Wallpaper4() {
const wallpaper = await wall.getAnimeWall4({ title: "anime romance", type: "sfw", page: 1 })
return console.log(wallpaper)
}
Wallpaper4()
© Aizuu