Skip to content

Instantly share code, notes, and snippets.

@greatghoul
Last active January 8, 2019 03:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save greatghoul/e6ebdb8c33a66c09c83881369edbe506 to your computer and use it in GitHub Desktop.
Save greatghoul/e6ebdb8c33a66c09c83881369edbe506 to your computer and use it in GitHub Desktop.
必应每日图片 API | 捷径社区
https://cn.bing.com/HPImageArchive.aspx?format=js&idx=1&n=2

必应每日图片

  • n - 必要参数。这是输出信息的数量。比如n=1,即为1条,以此类推,至多输出8条。
  • format - 非必要。返回结果的格式,不存在或者等于xml时,输出为xml格式,等于js时,输出json格式
  • idx - 非必要。不存在或者等于0时,输出当天的图片,-1为已经预备用于明天显示的信息,1则为昨天的图片,以此类推,idx最多获取到前16天的图片信息

Kim 整理


更多 API 请访问 公共 API 收集帖(长期更新) 技巧 | 捷径社区

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment