`
lixjluck
  • 浏览: 101689 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

天气API

阅读更多

http://m.weather.com.cn/data/101210101.html

 

中国天气提供的内部API,后面的ID还未知具体规则

返回的数据格式为json;

分享到:
评论
3 楼 lehehe 2014-08-24  
天气api,haoservice的数据接口也不错,免费试用 http://www.haoservice.com/docs/6
2 楼 棒棒军军长 2012-05-06  
这个接口怎么才能调用呢,我想采用js调用。
1 楼 jimmyking 2011-11-23  
非常感谢,还不知您是怎么找到这个地址的
后面的ID是有规律的
http://www.weather.com.cn/data/listinfo/city.xml?level=0
http://www.weather.com.cn/data/listinfo/city"+proCodes[0]+".xml?level=1
http://www.weather.com.cn/data/listinfo/city"+ciCodes[0]+".xml?level=2
http://www.weather.com.cn/data/list3/city"+ lCodes[0] + ".xml
代码为:proCodes[1] + ","+ciCodes[1]+","+lCodes[1] + ","+successCodes[1]

相关推荐

Global site tag (gtag.js) - Google Analytics