wolpi

Find link to WallpaperOfTheDay and easily fetch random wallpaper's link

Usage no npm install needed!

<script type="module">
  import wolpi from 'https://cdn.skypack.dev/wolpi';
</script>

README

trash">

:tada: Find link to WallpaperOfTheDay and easily fetch random wallpaper's link

Build Status

Install

$ npm install --save wolpi

Usage

Wallpaper Of The Day

'use strict';

const wolpi = require('wolpi');

wolpi().then(imageLink => {
    console.log(imageLink);
    // => { wallpaper: 'http://..../big_89d6f773e4e237f5d6189b83f87.png' }
});

Random Wallpapers

'use strict';

const wolpi = require('wolpi');

wolpi.random().then(imageLink => {
    console.log(imageLink);
    // => { wallpaper: 'http://.../animals/big/big_dd944ab9966db34b.jpg' }
});

Related

  • wolly : Downloading wallpapers through command line done right!

Thanks The PaperWall for providing cool wallpapers

License

MIT © Rishi Giri