Giter VIP home page Giter VIP logo

bing's Introduction

Bing Pictures Interface | 必应壁纸接口

🔨 Bing 壁纸 Api重装上阵啦 😄 http://bing.ioliu.cn

目前开放的壁纸接口:

  • /v1{d,w,h,p,size,callback} 返回今日的壁纸完整数据(可选参数{d,w,h,p,size,callback}):

    若指定参数{w,h} ,则直接返回图片

参数名 类型 是否必要 备注
d Int 自今日起第d天前的数据
w Int 图片宽度
h Int 图片高度
p Int Page 页码:第x页
size Int Size 条数:每页条数
callback String JSONP的回调函数名
  • /v1/rand{w,h,type,callback} 返回随机的壁纸(可选参数{w,h,type,callback}):
参数名 类型 是否必要 备注
w Int 图片宽度
h Int 图片高度
type String 返回值类型(json)
callback String JSONP的回调函数名
  • /v1/blur{d,w,h,r} 返回高斯模糊壁纸(可选参数{d,w,h,r}):
参数名 类型 是否必要 备注
d Int 自今日起第d天前的数据
w Int 图片宽度
h Int 图片高度
r Int 模糊半径(1~50)

⚠️ 高斯模糊接口目前只支持指定分辨率(w,h)的图片,具体分辨率如下:

/**
 * 已知分辨率
 */
resolutions: [
    '1920x1200',
    '1920x1080',
    '1366x768',
    '1280x768',
    '1024x768',
    '800x600',
    '800x480',
    '768x1280',
    '720x1280',
    '640x480',
    '480x800',
    '400x240',
    '320x240',
    '240x320'
]

欢迎点评→issue

bing's People

Watchers

 avatar  avatar

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.