anime-wallpapers
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Anime Wallpapers

Version

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()
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)
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)

Package Sidebar

Install

npm i anime-wallpapers

Weekly Downloads

19

Version

1.0.1

License

ISC

Unpacked Size

10.1 kB

Total Files

12

Last publish

Collaborators

  • ricardolegend