hestudio-bingwallpaper-get
v1.4.2
Published
A Bing wallpaper API interface that can directly image output images.
Downloads
134
Maintainers
Readme
heStudio BingWallpaper Get
Demo and detailed documentation
For details, see https://www.hestudio.net/docs/hestudio_bing_wallpaper_get.html
Call method
Run port at
3000
Get pictures
GET /getimage
Get image title
GET /gettitle
Return parameters:
| Parameters | Description |
|---|---|
| title
| title |
Get image copyright information
GET /getcopyright
Return parameters:
| Parameters | Description |
|---|---|
| copyright
| Copyright information |
| copyrightlink
| The link corresponding to the copyright information |
installation method
Docker deployment (recommended)
docker pull hestudio/bingwallpaper_get
docker run -d -p 3000:3000 hestudio/bingwallpaper_get
Manual installation (Only Develop)
git clone https://github.com/hestudio-community/bing-wallpaper-get.git
cd bing-wallpaper-get
npm install --global pnpm
pnpm install
pnpm run server
We will use
pnpm
as the package manager after version 1.3.2. If you deploy in this way, please switch in time to avoid any impact.
Install and run via NPM
npm install hestudio-bingwallpaper-get
echo "require('hestudio-bingwallpaper-get')" >> server.js
node server.js