anime-wallpapers
v1.0.1
Published
Free wallpaper generator
Downloads
491
Maintainers
Readme
Get Anime wallpapers generated easily..
Websites:
Example Usage
- Getting Wallpaper from ~~Alphacoders~~ currently does not work
const { AnimeWallpaper } = require("anime-wallpapers");
const wall = new AnimeWallpaper();
async function Wallpaper1() {
const wallpaper = await wall.getAnimeWall1({ search: "Rengoku", page: 1 })
return console.log(wallpaper)
// Getting top result | return console.log(wallpaper[0])
// Getting top image link | return console.log(wallpaper[0].image)
}
Wallpaper1()
- Getting Wallpapers from Wallpaper Cave
const { AnimeWallpaper } = require("anime-wallpapers");
const wall = new AnimeWallpaper();
async function Wallpaper2() {
const wallpaper = await wall.getAnimeWall2("Kyojuro Rengoku")
return console.log(wallpaper)
}
Wallpaper2()
// Getting top result | return console.log(wallpaper[0])
// Getting top image link | return console.log(wallpaper[0].image)
- Getting Wallpapers from 4K Wallpapers
const { AnimeWallpaper } = require("anime-wallpapers");
const wall = new AnimeWallpaper();
async function Wallpaper3() {
const wallpaper = await wall.getAnimeWall3()
return console.log(wallpaper)
}
Wallpaper3()
Code Helper:
| What you want | How to get it | | :------------- | :----------: | | Top wallpaper results | console.log(wallpaper[0]) | | Top wallpaper image link | console.log(wallpaper[0].image) | | Top wallpaper title | console.log(wallpaper[0].title)|