前言:
最近想做一些与网络有关的练手开源项目,找了一些API接口请求数据。
知乎API
- 返回最新的新闻列表:
http://news-at.zhihu.com/api/2/news/latest
http://news-at.zhihu.com/api/3/news/latest
http://news-at.zhihu.com/api/4/news/latest
- 根据上个API接口的新闻id,返回该新闻的详细信息
http://news-at.zhihu.com/api/2/news/{id}
http://news-at.zhihu.com/api/3/news/{id}
http://news-at.zhihu.com/api/4/news/{id}
例:http://news-at.zhihu.com/api/4/news/9660723
- 返回某个日期data之前的最新的新闻列表,{date}由8位数字组成,其含义为yyyymmdd:
http://news-at.zhihu.com/api/2/news/before/{date}
http://news-at.zhihu.com/api/3/news/before/{date}
http://news-at.zhihu.com/api/4/news/before/{data}
例:http://news-at.zhihu.com/api/4/news/before/20171214
等等,不对啊我为什么要自己爬数据,肯定有牛逼的大佬已经把API接口找出来了啊!OrZ
找了一下,有了:
知乎日报-API-分析:
https://github.com/izzyleung/ZhihuDailyPurify/wiki/%E7%9F%A5%E4%B9%8E%E6%97%A5%E6%8A%A5-API-%E5%88%86%E6%9E%90
豆瓣API V2测试接口:
https://developers.douban.com/wiki/?title=api_v2
干货集中营开放的api:
http://gank.io/api
很好,继续撸项目去。