请求方式:
GET
请求地址:
https://api.vvhan.com/api/bing
请求示例:
https://api.vvhan.com/api/bing 图片输出
https://api.vvhan.com/api/bing?type=json JSON输出
https://api.vvhan.com/api/bing?size=640x480 可选尺寸
https://api.vvhan.com/api/bing?rand=sj 图片随机
https://api.vvhan.com/api/bing?type=json&rand=sj JSON随机
返回格式:
IMG/JSON
请求参数:
type
否
JSON输出:json
rand
否
随机输出:sj
size
否
图片尺寸:1920x1200, 1920x1080, 1366x768, 1280x768, 1024x768, 800x600, 800x480, 768x1280, 720x1280, 640x480, 480x800, 400x240, 320x240, 240x320
返回参数:
type
JSON输出:json
rand
随机输出:sj
size
图片尺寸:1920x1200, 1920x1080, 1366x768, 1280x768, 1024x768, 800x600, 800x480, 768x1280, 720x1280, 640x480, 480x800, 400x240, 320x240, 240x320
返回示例:
返回Bing每日一图