必应壁纸 API

公共请求域:

https://www.todaybing.com

  • 一.今日全球壁纸

    免费
  • 获取包含全球地区的今日必应高清壁纸或元数据。
  • 1.接口地址:
  • /api/today/{$area}
  • 2.请求方式:
  • GET
  • 3.输入参数:
  • # 参数 取值 必须 描述
    1 area 会员 us,au,de,jp,in,fr,gb,cn 定义请求的目标区域,分别为:美国区,澳大利亚区,德国区,日本区,
    印度区,法国区,英国区,中国区,默认免费为中国区
    2 date 专业会员 日期 (如:20220101) 定义请求的图片日期
    3 size hd,fhd,mhd 定义请求的资源类型,分别为高清,超高清,手机分辨率,默认为高清
    4 formate json 定义返回的数据格式,默认返回图片
  • 4.返回参数:
  • # 参数 描述
    1 status 返回状态码 ,正常返回200 ,异常返回 201
    2 msg 返回的消息,异常将返回原因。
    3 data.title 图片标题
    4 data.description 专业会员 图片故事全部描述
    5 data.description_attr 图片故事简述
    6 data.continent 所属大洲
    7 data.copyright 图片版权归属
    8 data.date 图片发布日期
    9 data.resolution 图片(免费)最高分辨率
    10 data.max_resolution 图片(付费)最高分辨率
    11 data.image 图片地址
  • 5.请求示例(图片):
  • <image src="https://www.todaybing.com/api/today/cn?size=mhd">
  • 5.1返回示例:
  • 必应壁纸api示例
  • 6.请求示例(json):
  • <?php
    echo file_get_contents('https://www.todaybing.com/api/today/cn?formate=json&size=mhd');
  • 6.1.返回示例:
  • {
    data: {
    title: "两只海牛",
    description: "",
    continent: "北美洲",
    copyright: " Gregory Sweeney",
    date: "2023-03-29",
    resolution: "1920*1080",
    max_resolution: "",
    image: "https://www.todaybing.com/api/images/mhd/cn/kWvGATtc"
    },
    status: 200,
    msg: "",
    copyright: "COPYRIGHT © 2022 www.todaybing.com and its suppliers. All rights reserved."
    }
  • 二.今日全球必应壁纸feeds

    免费
  • 获取全球今日必应元数据。
  • 1.接口地址:
  • /api/feeds
  • 2.请求方式:
  • GET
  • 3.输入参数:
  • # 参数 取值 必须 描述
    1 app_key 管理后台获取 授权
    2 formate json 定义返回的数据格式
  • 4.返回参数:
  • # 参数 描述
    1 status 返回状态码 ,正常返回200 ,异常返回 201
    2 data.title 图片标题
    3 data.articleUrl 故事详情页
    4 data.area 所属地区
    5 data.copyright 图片版权归属
    6 data.date 发布日期
  • 5.请求示例:
  • <?php
    echo file_get_contents('https://www.todaybing.com/api/feeds?formate=json&app_key={your app_key}');
  • 6.1.返回示例:

  • {"code":200,"data":[{"articleUrl":"https:\/\/www.todaybing.com\/detail\/Cq0vB5TP.html","area":"cn","image":"https:\/\/imgs.todaybing.com\/334815de06e0584ef7467b3d707e86d7.jpg","copyright":"\u00a9 Ian Shive","title":"\u79d1\u8fea\u4e9a\u514b\u56fd\u5bb6\u91ce\u751f\u52a8\u7269\u4fdd\u62a4\u533a\uff0c\u79d1\u8fea\u4e9a\u514b\u5c9b\uff0c\u963f\u62c9\u65af\u52a0\u5dde\uff0c\u7f8e\u56fd ","date":"2023-10-18"},{"articleUrl":"https:\/\/www.todaybing.com\/global\/au3DTZyp20.html","area":"au","image":"https:\/\/imgs.todaybing.com\/8988029f615ecbbed6f82c1c4aeb1408.jpg","copyright":"\u00a9 Ian Shive","title":"Kodiak National Wildlife Refuge","date":"2023-10-19"},{"articleUrl":"https:\/\/www.todaybing.com\/global\/jpF8Y0SeNb.html","area":"jp","image":"https:\/\/imgs.todaybing.com\/8c6c42bd302508be596007cc92e8ba75.jpg","copyright":"\u00a9 Ian Shive","title":"\u30b3\u30c7\u30a3\u30a2\u30c3\u30af\u56fd\u7acb\u91ce\u751f\u751f\u7269\u4fdd\u8b77\u533a","date":"2023-10-18"},{"articleUrl":"https:\/\/www.todaybing.com\/global\/de5YVUQiGR.html","area":"de","image":"https:\/\/imgs.todaybing.com\/94c5a698c6d56581e6ba25d05791e43d.jpg","copyright":"\u00a9 Ian Shive","title":"Kodiak National Wildlife Refuge","date":"2023-10-18"},{"articleUrl":"https:\/\/www.todaybing.com\/global\/frVaRpFMG7.html","area":"fr","image":"https:\/\/imgs.todaybing.com\/174c33cc4d91fbc359e8b461f10992e3.jpg","copyright":"\u00a9 Ian Shive","title":"Refuge faunique national de Kodiak","date":"2023-10-18"},{"articleUrl":"https:\/\/www.todaybing.com\/global\/caREzbEiHv.html","area":"ca","image":"https:\/\/imgs.todaybing.com\/b8daed18e35f23a5aec25f609dbb8435.jpg","copyright":"\u00a9 Ian Shive","title":"Kodiak National Wildlife Refuge","date":"2023-10-19"},{"articleUrl":"https:\/\/www.todaybing.com\/global\/gbtFt80RkS.html","area":"gb","image":"https:\/\/imgs.todaybing.com\/ad6d36515ed3107727d25555f2e9ca25.jpg","copyright":"\u00a9 AWL Images","title":"Canary Wharf underground station","date":"2023-10-18"},{"articleUrl":"https:\/\/www.todaybing.com\/global\/inFSnrG3SA.html","area":"in","image":"https:\/\/imgs.todaybing.com\/fcad76fbed4092d980233de4aed08c54.jpg","copyright":"\u00a9 Ian Shive","title":"Kodiak National Wildlife Refuge","date":"2023-10-18"},{"articleUrl":"https:\/\/www.todaybing.com\/global\/us373y4THj.html","area":"us","image":"https:\/\/imgs.todaybing.com\/dba259bbff0edcde3f04d5be0c853844.jpg","copyright":"\u00a9 Ian Shive","title":"Kodiak National Wildlife Refuge","date":"2023-10-19"}],"copyright":"COPYRIGHT \u00a9 2021 www.todaybing.com and its suppliers. All rights reserved."}