<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <path stroke-linecap="round" d="M5,0 0,2.5 5,5z" id="raphael-marker-block" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path> </svg> <p><strong>中国天气网API接口</strong></p>
讯享网
GBK格式
json数据:
http://www.weather.com.cn/data/sk/101010100.html
http://www.weather.com.cn/data/cityinfo/101010100.html
{“weatherinfo”:{“city”:“鍖椾含”,“cityid”:“”,“temp”:“18”,“WD”:“涓滃崡椋�”,“WS”:“1绾�”,“SD”:“17%”,“WSE”:“1”,“time”:“17:05”,“isRadar”:“1”,“Radar”:“JC_RADAR_AZ9010_JB”,“njd”:“鏆傛棤瀹炲喌”,“qy”:“1011”,“rain”:“0”}}
数据源质量一般,字段较少,只有基本的温度等信息,而且json用的GBK编码,数据处理可能麻烦点。也可以用。
天气API接口 - UTF-8格式

http://v0.yiketianqi.com/free/v2030?city=&cityid=&adcode=0&appid=&appsecret=EKCDLT4I&lng=&lat=&aqi=&hours=
JSON数据
讯享网

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/170978.html