【求助】请大家分享下在用的web api
tasker吧
全部回复
仅看楼主
level 9
馊傻仔 楼主
在此求大家分享下各种web api,tasker实在大用,谢谢。
最近在做天气播报,找到的api很单薄,所以希望分享下,包括其他翻译等类型的。
这个比较全,但是不稳定
http://m.weather.com.cn/atad/101280101.html
这个简洁些
http://www.weather.com.cn/data/cityinfo/101280101.html
这个是实时的
http://www.weather.com.cn/data/sk/101010100.html
这个是生活指数
http://www.weather.com.cn/data/zs/101280101.html
这个是谷歌的,没用过
http://www.google.com/ig/api?weather=Beijing&hl=zh-cn(北京)
以上都是json数据的。
2015年01月12日 12点01分 1
level 9
馊傻仔 楼主
2015年01月12日 12点01分 2
level 9
馊傻仔 楼主
查书,不过这个好像只有目录、简介和书评
https://api.douban.com/v2/book/search?q=哈利波特
2015年01月12日 12点01分 3
level 10
收藏
2015年01月12日 14点01分 4
level 13
roychou天气 :http://weather.raychou.com/?/detail/58693/count_2/ical
百度天气:需要自己申请,我不提供了。
╱╱╱╱╱╱┏┓
    ╱┏┓╱╱┏╯┃
    ┏┛┗┓╱┗┓┃
    ┗┓┏┛╱╱┃┃
    ╱┗┛╱╱╱┃┃
    ╱╱╱╱╱╱┗┛
2015年01月12日 16点01分 5
还是这个用起来比较靠谱些
2015年12月17日 06点12分
level 8
谢谢分享
   --其实我什么都不懂我是来看看的,没想到啊没想到,竟然又长知识了.
2015年01月13日 13点01分 6
level 9
馊傻仔 楼主
维基百科: http://zh.m.wikipedia.org/wiki/%E5%94%90%E6%9C%9D
http://zh.m.wikipedia.org/wiki/唐朝 (有可能中文无法识别,需要转码如下图)
百度百科: 因为会转地址,要获取两次
http://wapbaike.baidu.com/search?word=柴油&ssid=&from=&uid=93A894E51165A4404A9E188345E8D82F&ldr=0&st=3&bd_page_type=1&bk_fr=bk_view_sarch
第一次http get可以得到以下内容:
*********************************************************************************************
<meta http-equiv='Pragma' content='no-cache'><meta http-equiv='Refresh' content='0;URL=/view/70396.htm?uid=93A894E51165A4404A9E188345E8D82F&bd_page_type=1&st=3&step=1&net=3&ldr=0'>
*********************************************************************************************
提取出部分地址:/view/70396.htm?uid=93A894E51165A4404A9E188345E8D82F&bd_page_type=1&st=3&step=1&net=3&ldr=0,然后处理下再获取一次http get就可以得到内容了:
http://wapbaike.baidu.com/view/70396.htm?uid=93A894E51165A4404A9E188345E8D82F&bd_page_type=1&st=3&step=1&net=3&ldr=0
2015年01月19日 13点01分 7
level 13
Good,大家集思广益,知道的 都发一点吧。
2015年01月19日 15点01分 8
level 10
2015年01月19日 23点01分 9
level 6
2015年02月28日 15点02分 10
level 13

哼哼
apistore.baidu.com
2015年03月14日 07点03分 11
level 9
馊傻仔 楼主
查找歌曲
http://box.zhangmen.baidu.com/x?op=12&count=1&title=歌曲名$$
返回 xml,获取 <![CDATA[ 和 ]]> 之间的内容,会返回多个下载地址
2015年04月29日 04点04分 12
level 9
馊傻仔 楼主
笑话
返回:xml
http://www.djdkx.com/open/randxml (随机返回一条)
http://www.djdkx.com/open/ (返回10条,应该是最新的10条)
2015年05月06日 14点05分 13
level 9
馊傻仔 楼主
2015年05月12日 12点05分 15
level 9
馊傻仔 楼主
【百度新闻】
http://news.baidu.com/ns?word=新闻关键字&tn=newsfcu&from=news&cl=2&rn=返回条数&ct=0
返回:html
2015年05月12日 12点05分 16
level 9
馊傻仔 楼主
【笑话】
http://api.1-blog.com/biz/bizserver/xiaohua/list.do
参数:
maxXhid:已有的最大笑话ID;
minXhid:已有的最小笑话ID;
size:要获取的笑话的条数
返回:json
2015年05月12日 12点05分 17
level 9
馊傻仔 楼主
【听娱新闻】
http://api.1-blog.com/biz/bizserver/news/list.do
参数:
max_behot_time:指定获取哪个时间点前的新闻,毫秒计数的整数值(以新闻收录时间为依据)
size: 获取新闻的条数
返回: json
2015年05月12日 12点05分 18
level 1
京东获取单个商品价格接口
http://p.3.cn/prices/mgets?skuIds=J_商品ID&type=1
ps:商品ID这么获取:http://item.jd.com/954086.html
2015年05月14日 12点05分 19
level 1
快递接口:
http://www.kuaidi100.com/query?type=快递公司代号&postid=快递单号
ps:快递公司编码:申通="shentong" EMS="ems" 顺丰="shunfeng" 圆通="yuantong" 中通="zhongtong" 韵达="yunda" 天天="tiantian" 汇通="huitongkuaidi" 全峰="quanfengkuaidi" 德邦="debangwuliu" 宅急送="zhaijisong"
2015年05月14日 12点05分 20
这个好
2015年05月14日 13点05分
level 1
2015年05月14日 12点05分 21
1 2 尾页