-.- -.-
首页
  • 分类
  • 标签
  • 归档
  • Lodash 源码分析 (opens new window)
Mozilla (opens new window)
GitHub (opens new window)

江月何年初照人

首页
  • 分类
  • 标签
  • 归档
  • Lodash 源码分析 (opens new window)
Mozilla (opens new window)
GitHub (opens new window)
  • 必应每日一图

    • 官方
      • 非官方
      江月何年初照人
      2021-05-27
      随笔

      必应每日一图

      # 必应每日一图

      # 官方

      接口地址:https://cn.bing.com/HPImageArchive.aspx?format=xml&idx=0&n=1 (opens new window)

      参数说明

      参数 性质 说明
      format 可选 js | xml , 默认为 xml
      idx 可选 取值范围 [-1, 7] , 分别表示 明天,今天,昨天,前天…… , 默认为 0
      n 可选 取值范围 [1, 8] , 表示从 idx 指定的日期 往前推 n 张图片的信息

      例如 idx 为 7, n 为 8 返回结果如下

      {
        "images": [
          {
            "startdate": "20210519",
            "fullstartdate": "202105191600",
            "enddate": "20210520",
            "url": "/th?id=OHR.ButtermereSunset_ZH-CN9706111376_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
            "urlbase": "/th?id=OHR.ButtermereSunset_ZH-CN9706111376",
            "copyright": "巴特米尔湖上的落日 ,英格兰湖区 (© Stewart Smith/Alamy)",
            "copyrightlink": "https://www.bing.com/search?q=%E5%B7%B4%E7%89%B9%E7%B1%B3%E5%B0%94%E6%B9%96&form=hpcapt&mkt=zh-cn",
            "title": "",
            "quiz": "/search?q=Bing+homepage+quiz&filters=WQOskey:%22HPQuiz_20210519_ButtermereSunset%22&FORM=HPQUIZ",
            "wp": true,
            "hsh": "0d1b2a78c4606ecd16beffd19d8f8efb",
            "drk": 1,
            "top": 1,
            "bot": 1,
            "hs": []
          },
          {
            "startdate": "20210518",
            "fullstartdate": "202105181600",
            "enddate": "20210519",
            "url": "/th?id=OHR.RoanRhododendron_ZH-CN6519978283_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
            "urlbase": "/th?id=OHR.RoanRhododendron_ZH-CN6519978283",
            "copyright": "飘落的杜鹃花瓣铺在Grassy Ridge Bald山的小径上,北卡罗莱纳州皮斯加国家森林 (© aheflin/Getty Images Plus)",
            "copyrightlink": "https://www.bing.com/search?q=%E7%9A%AE%E6%96%AF%E5%8A%A0%E5%9B%BD%E5%AE%B6%E6%A3%AE%E6%9E%97&form=hpcapt&mkt=zh-cn",
            "title": "",
            "quiz": "/search?q=Bing+homepage+quiz&filters=WQOskey:%22HPQuiz_20210518_RoanRhododendron%22&FORM=HPQUIZ",
            "wp": false,
            "hsh": "3f3ba2698a9d44d345e15c3e5e40ff29",
            "drk": 1,
            "top": 1,
            "bot": 1,
            "hs": []
          },
          {
            "startdate": "20210517",
            "fullstartdate": "202105171600",
            "enddate": "20210518",
            "url": "/th?id=OHR.GreatHornbill_ZH-CN9550236034_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
            "urlbase": "/th?id=OHR.GreatHornbill_ZH-CN9550236034",
            "copyright": "西孟加拉邦的双角犀鸟,印度 (© Debapratim Saha/Minden Pictures)",
            "copyrightlink": "https://www.bing.com/search?q=%E5%8F%8C%E8%A7%92%E7%8A%80%E9%B8%9F&form=hpcapt&mkt=zh-cn",
            "title": "",
            "quiz": "/search?q=Bing+homepage+quiz&filters=WQOskey:%22HPQuiz_20210517_GreatHornbill%22&FORM=HPQUIZ",
            "wp": true,
            "hsh": "a9e23aebcca3ab9fe480a10f7911c0a5",
            "drk": 1,
            "top": 1,
            "bot": 1,
            "hs": []
          },
          {
            "startdate": "20210516",
            "fullstartdate": "202105161600",
            "enddate": "20210517",
            "url": "/th?id=OHR.Alesund_ZH-CN9437421934_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
            "urlbase": "/th?id=OHR.Alesund_ZH-CN9437421934",
            "copyright": "奥勒松,挪威 (© AWL Images/Offset by Shutterstock)",
            "copyrightlink": "https://www.bing.com/search?q=%E5%A5%A5%E5%8B%92%E6%9D%BE&form=hpcapt&mkt=zh-cn",
            "title": "",
            "quiz": "/search?q=Bing+homepage+quiz&filters=WQOskey:%22HPQuiz_20210516_Alesund%22&FORM=HPQUIZ",
            "wp": true,
            "hsh": "2e34c74a48cb02153572b0234b826304",
            "drk": 1,
            "top": 1,
            "bot": 1,
            "hs": []
          },
          {
            "startdate": "20210515",
            "fullstartdate": "202105151600",
            "enddate": "20210516",
            "url": "/th?id=OHR.Guatape_ZH-CN9344556154_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
            "urlbase": "/th?id=OHR.Guatape_ZH-CN9344556154",
            "copyright": "鸟瞰瓜塔佩巨岩,哥伦比亚瓜塔佩 (© Amazing Aerial Agency/Offset by Shutterstock)",
            "copyrightlink": "https://www.bing.com/search?q=%E7%93%9C%E5%A1%94%E4%BD%A9%E5%B7%A8%E5%B2%A9&form=hpcapt&mkt=zh-cn",
            "title": "",
            "quiz": "/search?q=Bing+homepage+quiz&filters=WQOskey:%22HPQuiz_20210515_Guatape%22&FORM=HPQUIZ",
            "wp": true,
            "hsh": "97199fcfe82c354aaa8c630a1f7ec280",
            "drk": 1,
            "top": 1,
            "bot": 1,
            "hs": []
          },
          {
            "startdate": "20210514",
            "fullstartdate": "202105141600",
            "enddate": "20210515",
            "url": "/th?id=OHR.ParanalStars_ZH-CN9247250519_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
            "urlbase": "/th?id=OHR.ParanalStars_ZH-CN9247250519",
            "copyright": "帕瑞纳天文台的望远镜和星迹,智利阿塔卡马沙漠 (© Matteo Omied/Alamy)",
            "copyrightlink": "https://www.bing.com/search?q=%E5%B8%95%E7%91%9E%E7%BA%B3%E5%A4%A9%E6%96%87%E5%8F%B0&form=hpcapt&mkt=zh-cn",
            "title": "",
            "quiz": "/search?q=Bing+homepage+quiz&filters=WQOskey:%22HPQuiz_20210514_ParanalStars%22&FORM=HPQUIZ",
            "wp": true,
            "hsh": "c64fd7daaf655438ec3d32e6bdbf98c6",
            "drk": 1,
            "top": 1,
            "bot": 1,
            "hs": []
          },
          {
            "startdate": "20210513",
            "fullstartdate": "202105131600",
            "enddate": "20210514",
            "url": "/th?id=OHR.AltaFloresta_ZH-CN9153671055_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
            "urlbase": "/th?id=OHR.AltaFloresta_ZH-CN9153671055",
            "copyright": "上弗洛雷斯塔附近晨雾中亚马逊雨林,巴西马托格罗索 (© Pulsar Imagens/Alamy)",
            "copyrightlink": "https://www.bing.com/search?q=%E4%BA%9A%E9%A9%AC%E9%80%8A%E9%9B%A8%E6%9E%97&form=hpcapt&mkt=zh-cn",
            "title": "",
            "quiz": "/search?q=Bing+homepage+quiz&filters=WQOskey:%22HPQuiz_20210513_AltaFloresta%22&FORM=HPQUIZ",
            "wp": true,
            "hsh": "49675345194eae419cb8ff96cb7a838f",
            "drk": 1,
            "top": 1,
            "bot": 1,
            "hs": []
          },
          {
            "startdate": "20210512",
            "fullstartdate": "202105121600",
            "enddate": "20210513",
            "url": "/th?id=OHR.ShikisaiBiei_ZH-CN9063139813_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
            "urlbase": "/th?id=OHR.ShikisaiBiei_ZH-CN9063139813",
            "copyright": "美瑛町的四季彩之丘,日本 (© Tanya Jones/Shutterstock)",
            "copyrightlink": "https://www.bing.com/search?q=%E5%9B%9B%E5%AD%A3%E5%BD%A9%E4%B9%8B%E4%B8%98&form=hpcapt&mkt=zh-cn",
            "title": "",
            "quiz": "/search?q=Bing+homepage+quiz&filters=WQOskey:%22HPQuiz_20210512_ShikisaiBiei%22&FORM=HPQUIZ",
            "wp": true,
            "hsh": "d01fd3e2a968d15defdf29388273788c",
            "drk": 1,
            "top": 1,
            "bot": 1,
            "hs": []
          }
        ],
        "tooltips": {
          "loading": "正在加载...",
          "previous": "上一个图像",
          "next": "下一个图像",
          "walle": "此图片不能下载用作壁纸。",
          "walls": "下载今日美图。仅限用作桌面壁纸。"
        }
      }
      
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      17
      18
      19
      20
      21
      22
      23
      24
      25
      26
      27
      28
      29
      30
      31
      32
      33
      34
      35
      36
      37
      38
      39
      40
      41
      42
      43
      44
      45
      46
      47
      48
      49
      50
      51
      52
      53
      54
      55
      56
      57
      58
      59
      60
      61
      62
      63
      64
      65
      66
      67
      68
      69
      70
      71
      72
      73
      74
      75
      76
      77
      78
      79
      80
      81
      82
      83
      84
      85
      86
      87
      88
      89
      90
      91
      92
      93
      94
      95
      96
      97
      98
      99
      100
      101
      102
      103
      104
      105
      106
      107
      108
      109
      110
      111
      112
      113
      114
      115
      116
      117
      118
      119
      120
      121
      122
      123
      124
      125
      126
      127
      128
      129
      130
      131
      132
      133
      134
      135
      136
      137
      138
      139
      140
      141
      142
      143
      144
      145
      146
      147

      # 非官方

      1. 必应壁纸接口 (opens new window)

        随机必应图片的地址 https://bing.ioliu.cn/v1/rand?w=1920&h=1200 (opens new window)

             <img src="https://bing.ioliu.cn/v1/rand?w=1920&h=1200"/>
        
        1
      2. 必应壁纸api (opens new window)

        可以直接在 img 中使用的 地址 https://bing.creepersan.com/api/v1/img-current (opens new window) , 分辨率为 1920 × 1080

            <img src="https://bing.creepersan.com/api/v1/img-current" />
        
        1

        还有其他的使用方法可以查看详情

      编辑 (opens new window)
      上次更新: 2021/05/27 15:35:11
      最近更新
      01
      a标签下载限制
      08-08
      02
      小球碰壁反弹动画
      05-26
      03
      关于陀螺仪的一些问题
      05-26
      更多文章>
      Theme by Vdoing | Copyright © 2021-2023 Himawari | MIT License
      • 跟随系统
      • 浅色模式
      • 深色模式
      • 阅读模式