Skip to content

xCss/bing

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
April 1, 2017 22:11
November 10, 2017 10:08
January 26, 2018 09:57
add
January 7, 2018 13:00
January 12, 2018 10:07
January 26, 2018 11:06
October 24, 2016 18:12
March 25, 2017 17:59
January 10, 2018 15:38
January 9, 2018 21:54

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