天气的接口你们用谁的?这个不能用了m.weather.com.cn/atad/xx.html
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了天气的接口你们用谁的?这个不能用了m.weather.com.cn/atad/xx.html,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含4079字,纯文字阅读大概需要6分钟。
内容图文
![天气的接口你们用谁的?这个不能用了m.weather.com.cn/atad/xx.html](/upload/InfoBanner/zyjiaocheng/201/a81f5becb04243c7ba44eecdf95b1441.jpg)
最好可以显示5天的,
我记得百度地图也有, 天数只有3天的,
回复讨论(解决方案)
这个太多了吧,去搜索一下。
http://weather.yahooapis.com/forecastrss?w=2165352&u=c
改变w的参数就可以,code自己查,xml格式
http://smart.weather.com.cn/wzfw/smart/weatherapi.shtml
到这里申请一个
http://smart.weather.com.cn/wzfw/smart/weatherapi.shtml
到这里申请一个
我以前听说不好申请 就没看了, 现在试试吧,
http://smart.weather.com.cn/wzfw/smart/weatherapi.shtml
到这里申请一个
不行啊 smartweatherapi@weather.com.cn 这个邮箱发不过去邮件
http://m.weather.com.cn/data/101010100.html
{"weatherinfo":{"city":"北京","city_en":"beijing","date_y":"2014年3月4日","date":"","week":"星期二","fchh":"11","cityid":"101010100","temp1":"8℃~-3℃","temp2":"8℃~-3℃","temp3":"7℃~-3℃","temp4":"8℃~-1℃","temp5":"10℃~1℃","temp6":"10℃~2℃","tempF1":"46.4?~26.6?","tempF2":"46.4?~26.6?","tempF3":"44.6?~26.6?","tempF4":"46.4?~30.2?","tempF5":"50?~33.8?","tempF6":"50?~35.6?","weather1":"晴","weather2":"晴","weather3":"晴","weather4":"晴转多云","weather5":"多云","weather6":"多云","img1":"0","img2":"99","img3":"0","img4":"99","img5":"0","img6":"99","img7":"0","img8":"1","img9":"1","img10":"99","img11":"1","img12":"99","img_single":"0","img_title1":"晴","img_title2":"晴","img_title3":"晴","img_title4":"晴","img_title5":"晴","img_title6":"晴","img_title7":"晴","img_title8":"多云","img_title9":"多云","img_title10":"多云","img_title11":"多云","img_title12":"多云","img_title_single":"晴","wind1":"北风4-5级转微风","wind2":"微风","wind3":"微风","wind4":"微风","wind5":"微风","wind6":"微风","fx1":"北风","fx2":"微风","fl1":"4-5级转小于3级","fl2":"小于3级","fl3":"小于3级","fl4":"小于3级","fl5":"小于3级","fl6":"小于3级","index":"寒冷","index_d":"天气寒冷,建议着厚羽绒服、毛皮大衣加厚毛衣等隆冬服装。年老体弱者尤其要注意保暖防冻。","index48":"冷","index48_d":"天气冷,建议着棉服、羽绒服、皮夹克加羊毛衫等冬季服装。年老体弱者宜着厚棉衣、冬大衣或厚羽绒服。","index_uv":"中等","index48_uv":"中等","index_xc":"较适宜","index_tr":"一般","index_co":"较舒适","st1":"7","st2":"-3","st3":"8","st4":"0","st5":"7","st6":"-1","index_cl":"较不宜","index_ls":"基本适宜","index_ag":"易发"}}
http://m.weather.com.cn/data/101010100.html
{"weatherinfo":{"city":"北京","city_en":"beijing","date_y":"2014年3月4日","date":"","week":"星期二","fchh":"11","cityid":"101010100","temp1":"8℃~-3℃","temp2":"8℃~-3℃","temp3":"7℃~-3℃","temp4":"8℃~-1℃","temp5":"10℃~1℃","temp6":"10℃~2℃","tempF1":"46.4?~26.6?","tempF2":"46.4?~26.6?","tempF3":"44.6?~26.6?","tempF4":"46.4?~30.2?","tempF5":"50?~33.8?","tempF6":"50?~35.6?","weather1":"晴","weather2":"晴","weather3":"晴","weather4":"晴转多云","weather5":"多云","weather6":"多云","img1":"0","img2":"99","img3":"0","img4":"99","img5":"0","img6":"99","img7":"0","img8":"1","img9":"1","img10":"99","img11":"1","img12":"99","img_single":"0","img_title1":"晴","img_title2":"晴","img_title3":"晴","img_title4":"晴","img_title5":"晴","img_title6":"晴","img_title7":"晴","img_title8":"多云","img_title9":"多云","img_title10":"多云","img_title11":"多云","img_title12":"多云","img_title_single":"晴","wind1":"北风4-5级转微风","wind2":"微风","wind3":"微风","wind4":"微风","wind5":"微风","wind6":"微风","fx1":"北风","fx2":"微风","fl1":"4-5级转小于3级","fl2":"小于3级","fl3":"小于3级","fl4":"小于3级","fl5":"小于3级","fl6":"小于3级","index":"寒冷","index_d":"天气寒冷,建议着厚羽绒服、毛皮大衣加厚毛衣等隆冬服装。年老体弱者尤其要注意保暖防冻。","index48":"冷","index48_d":"天气冷,建议着棉服、羽绒服、皮夹克加羊毛衫等冬季服装。年老体弱者宜着厚棉衣、冬大衣或厚羽绒服。","index_uv":"中等","index48_uv":"中等","index_xc":"较适宜","index_tr":"一般","index_co":"较舒适","st1":"7","st2":"-3","st3":"8","st4":"0","st5":"7","st6":"-1","index_cl":"较不宜","index_ls":"基本适宜","index_ag":"易发"}}
你好,你看下日期是3月多的, 已经过时了
http://www.weather.com.cn/weather1d/101010100.shtml
要么根据地址抓取数据
http://113.108.239.118/atad/101020100.html 用这个试试
内容总结
以上是互联网集市为您收集整理的天气的接口你们用谁的?这个不能用了m.weather.com.cn/atad/xx.html全部内容,希望文章能够帮你解决天气的接口你们用谁的?这个不能用了m.weather.com.cn/atad/xx.html所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。