必应美图
获取最近八天的必应精美壁纸

接口地址: https://api.muxiaoguo.cn/api/bing/

返回格式: JSON

请求方式: GET

请求示例: https://api.muxiaoguo.cn/api/bing?id=today&pn=8

请求参数说明:

名称 必填 类型 说明
id String 分类ID(today.七天内图片,数值:1-7其他分类下的图片)
pn String 加载的图片数量范围:1-8

返回参数说明:

名称 类型 说明
imgurl String 图片链接
title String 图片标题
date String 图片日期

返回示例:

{
    "code": "200",
    "msg": "success",
    "data": [
        {
            "imgurl": "https://cn.bing.com/th?id=OHR.SiegeofCusco_ZH-CN9108219313_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
            "title": "库斯科附近萨克塞华曼的印加要塞,秘鲁 (© Susanne Kremer/eStock Photo)",
            "date": "20200506"
        },
        {
            "imgurl": "https://cn.bing.com/th?id=OHR.CordovanCourts_ZH-CN8989880218_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
            "title": "正在照看花草的孩子和祖父铜雕,西班牙科尔多瓦 (© David M G/Alamy)",
            "date": "20200505"
        },
        {
            "imgurl": "https://cn.bing.com/th?id=OHR.LastJedi_ZH-CN8789881870_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
            "title": "乌尤尼盐沼,玻利维亚 (© Ignacio Palacios/Getty Images)",
            "date": "20200504"
        },
        {
            "imgurl": "https://cn.bing.com/th?id=OHR.LaughingOwl_ZH-CN8548558025_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
            "title": "琼斯海滩的雪鸮,纽约长岛 (© Vicki Jauron/Getty Images)",
            "date": "20200503"
        },
        {
            "imgurl": "https://cn.bing.com/th?id=OHR.KasbahRoses_ZH-CN8429310380_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
            "title": "Kalaat M'Gouna的古堡遗址,摩洛哥 (© Leonid Andronov/Getty Images)",
            "date": "20200502"
        },
        {
            "imgurl": "https://cn.bing.com/th?id=OHR.BurgAltdahn_ZH-CN8281669977_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
            "title": "达恩附近普法尔茨森林中的Altdahn城堡,德国莱茵兰-普法尔茨(Dahn Rockland), Palatinate Forest, Rhineland-Palatinate, Germany (© Reinhard Schmid/Huber/eStock Photo)",
            "date": "20200501"
        },
        {
            "imgurl": "https://cn.bing.com/th?id=OHR.ArcticRedpoll_ZH-CN7968973967_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
            "title": "极北朱顶雀的巢,芬兰拉普兰 (© Maximilian Buzun/Alamy)",
            "date": "20200430"
        },
        {
            "imgurl": "https://cn.bing.com/th?id=OHR.PalouseSpring_ZH-CN6803103328_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
            "title": "普尔曼附近的帕卢斯一辆拖拉机在耕作时扬起尘土,华盛顿州 (© Ben Herndon/Tandem Stills + Motion)",
            "date": "20200429"
        }]
}

错误码格式说明:

名称 类型 说明
code String 返回的错误码 -1/-2/-3/200 参数缺失/频繁/错误/成功
msg String 返回的状态信息

代码示例:

暂无示例,有问题或者不懂请加站长交流群:608300197 进行询问。