GithubHelp home page GithubHelp logo

tuobaye0711 / new-wallpaper-everyday Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 2.0 11 KB

get a new wallpaper every | 每天一张新壁纸

Home Page: http://tuobaye.duapp.com

License: MIT License

JavaScript 61.90% HTML 38.10%

new-wallpaper-everyday's Introduction

new-wallpaper-everyday

get a new wallpaper every | 每天一张新壁纸


项目介绍文章【Node.js线上部署小项目】让自己的博客每次打开都有不同的封面

线上部署地址:tuobaye.duapp.com

使用方法:

    git clone https://github.com/tuobaye0711/new-wallpaper-everyday.git
    cd new-wallpaper-everyday
    node app.js

接口调用:

今日壁纸:

    http://127.0.0.1:8888/wallpaper

另外支持参数:

    days_ago | int    | 查询几天前的壁纸 | n <= 15
    mkt      | string | 查询某地区的壁纸 | zh-CN(默认)/en-US

一个例子,查询en-US地区13天前的壁纸:

    http://127.0.0.1:8888/wallpaper?days_ago=13&mkt=en-US

随机返回一张壁纸——地区随机、日期随机(15日内):

    http://127.0.0.1:8888/wallpaper/random

欢迎使用、提意见~

new-wallpaper-everyday's People

Contributors

tuobaye0711 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

idenpin jenaylee

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.