Bing每日美图

1.功能介绍

Bing每日美图api用于必应每日一图。

2.请求地址

https://www.jishusongshu.com/bing/api/

3.请求参数

参数 类型 参数值 描述
type 选填 json 返回json数据
blur 选填 5/15/25 返回高斯模糊程度不同的图片
gray 选填 true/false 灰阶图片/正常色彩图片
day 选填 n(n≥0) n天前的图片
thumbnail 选填 1/25 16×9像素或以25%比例缩放的缩略图

4.请求示例

前天(等级为5的高斯模糊)每日一图

https://www.jishusongshu.com/bing/api/?blur=5&day=2

5.返回数据

https://www.jishusongshu.com/bing/api/?type=json

获取今日每日一图的json数据

{
    bing_id: "132",
    bing_title: "蒙特利尔的乌林鸮,加拿大 (© rollandgelly/Getty Images)",
    bing_imgurl: "https://image.jishusongshu.com/bing/07-Feb-2021/07-Feb-2021.jpg",
    bing_imgurlcom_25: "https://image.jishusongshu.com/bing/07-Feb-2021/07-Feb-2021-compress_25.jpg",
    bing_imgurluhd: "https://cn.bing.com/th?id=OHR.SuperbOwl_ZH-CN5028336455_UHD.jpg",
    bing_imgname: "SuperbOwl_ZH-CN5028336455",
    bing_hsh: "40327a6d3b0d1bbf3f3f68dd1528fe96",
    submission_date: "07-Feb-2021",
    submission_fulldate: "07-Feb-2021 00:01:01",
    bing_imgbase64: "data:;base64,PGJyIC8+CjxiPldhcm5pbmc8L2I+OiAgcmVhZGZpbGUoaHR0cHM6Ly9pbWFnZS5qaXNodXNvbmdz aHUuY29tL2JpbmcvMDctRmViLTIwMjEvMDctRmViLTIwMjEuanBnIWJpbmcxKTogZmFpbGVkIHRv IG9wZW4gc3RyZWFtOiBIVFRQIHJlcXVlc3QgZmFpbGVkISBIVFRQLzEuMSA0MDQgTm90IEZvdW5k DQogaW4gPGI+L3d3dy93d3dyb290L2ppc2h1c29uZ3NodS5jb20vYmluZy9hcGkvcGhwL2luZGV4 LnBocDwvYj4gb24gbGluZSA8Yj45OTwvYj48YnIgLz4K ",
    other: "0",
    bing_did: "20210207"
}

6.调用效果

<img src="https://www.jishusongshu.com/bing/api/?blur=5&day=2"/>

Copyright © szfx.top 2021            updated: 2021-02-07 18:55:54

results matching ""

    No results matching ""