公共API记录

bing每日图片

http://www.bing.com/HPImageArchive.aspx?format=js&idx=1&n=10&mkt=en-US

n:图片数量,最大为8
idx:当前日期往前推idx天开始获取图片


v2ex的api

https://www.v2ex.com/p/7v9TEc53

最热主题

相当于首页右侧的 10 大每天的内容。

https://www.v2ex.com/api/topics/hot.json

  • Method: GET
  • Authentication: None

最新主题

相当于首页的“全部”这个 tab 下的最新内容。

https://www.v2ex.com/api/topics/latest.json

  • Method: GET
  • Authentication: None

节点信息

获得指定节点的名字,简介,URL 及头像图片的地址。

https://www.v2ex.com/api/nodes/show.json

  • Method: GET
  • Authentication: None

接受参数:

  • name: 节点名(V2EX 的节点名全是半角英文或者数字)

例如:

https://www.v2ex.com/api/nodes/show.json?name=python

用户主页

获得指定用户的自我介绍,及其登记的社交网站信息。

https://www.v2ex.com/api/members/show.json

  • Method: GET
  • Authentication: None

接受以下参数之一:

  • username: 用户名
  • id: 用户在 V2EX 的数字 ID

例如:

https://www.v2ex.com/api/members/show.json?username=Livid
https://www.v2ex.com/api/members/show.json?id=1


你可能感兴趣的:(公共API记录)