中国天气api接口,全json数据(第二弹)

在此声明:本代码仅供网友测试使用,若用作商业用途,请申请正规api接口,若因接口产生的商业纠本人概不负责...

在上篇帖子中已经介绍了中华万年历的天气接口不知道朋友们是否过瘾????

上篇地址..........
http://www.eoeandroid.com/thread-331843-1-1.html
天气配套CityPicker,天气接口(第三弹)

现在,我又回来了,带着大数据回来了!!!

按照惯例,还是先看一下数据吧,

[mw_shl_code=java,true]weather_callback({"weatherinfo":{"city":"威 海","city_en":"weihai","date_y":"2014年5月16日","date":"四月十八","week":"星期 五","fchh":"18","cityid":"101121301","temp1":"14℃","temp2":"23℃~15℃","temp3":"26℃~15℃","temp4":"25℃~13℃","temp5":"22℃~12℃","temp6":"25℃~15℃","tempF1":"57.2℉~73.4℉","tempF2":"59℉~78.8℉","tempF3":"59℉~77℉","tempF4":"55.4℉~71.6℉","tempF5":"53.6℉~77℉","tempF6":"59℉~82.4℉","weather1":" 多云转晴","weather2":"晴","weather3":"晴转多云","weather4":"阵雨转多云","weather5":" 晴","weather6":" 晴","img1":"1","img2":"0","img3":"0","img4":"99","img5":"0","img6":"1","img7":"3","img8":"1","img9":"0","img10":"99","img11":"0","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":"东北风转南风3-4级","wind2":"南风3-4 级","wind3":"南风3-4级","wind4":"南风3-4级转北风4-5级","wind5":"南风3-4级","wind6":"西南 风4-5级","fx1":"东北风","fx2":"南风","fl1":"3-4级","fl2":"3-4级","fl3":"3-4 级","fl4":"3-4级转4-5级","fl5":"3-4级","fl6":"4-5级","index":"较舒适","index_d":" 建议着薄外套、开衫牛仔衫裤等服装。年老体弱者应适当添加衣物,宜着夹克衫、薄毛衣 等。","index48":"","index48_d":"","index_uv":"中 等","index48_uv":"","index_xc":"较适宜","index_tr":"适宜","index_co":"较不舒 适","st1":"22","st2":"12","st3":"24","st4":"14","st5":"24","st6":"14","index_cl":" 较适宜","index_ls":"适宜","index_ag":"易发","temp":"16","wd":"东北风","ws":"2 级","sd":"74%","wse":"2","index_ct":"较舒适","index_ct_d":"建议穿薄外套或牛仔裤等服 装","index_yd":"较适宜","index_yd_d":"风力较强且气温较低,请进行室内运动","index_xc_d":"无雨,风力 较大,洗车后会蒙上灰尘","index_pp":"保湿","index_pp_d":"请选用中性保湿型霜类化妆品","index_gm":"较易 发","index_gm_d":"风较大,较易发生感冒,注意防护","index_uv_d":"涂擦SPF大于15、PA+防晒护肤 品","index_co_d":"白天风力较大,人体感觉较不舒适","index_gj":"较不宜","index_gj_d":"风力较大,坚持 出门需注意避风","index_mf":"适宜","index_mf_d":"建议选择含防晒滋润成分的护发品","index_ys":"不带 伞","index_ys_d":"天气较好,不用带雨伞","index_jt":"良好","index_jt_d":"气象条件良好,车辆可以正常 行驶","index_lk":"干燥","index_lk_d":"天气较好,路面较干燥,路况较好","index_cl_d":"请选择避风的地 点晨练,避免迎风锻炼","index_dy":"较适宜","index_dy_d":"风稍大会对垂钓产生一定影响","index_hc":"较适 宜","index_hc_d":"风稍大会对划船产生一定影响","index_yh":"较不适宜","index_yh_d":"风力较大,建议尽 量不要去室外约会","index_ls_d":"天气不错,抓紧时机让衣物晒太阳吧","index_fs":"中等","index_fs_d":" 适合涂擦SPF大于15,PA+护肤 品","rc1":"04:42","rl1":"18:53","rc2":"04:41","rl2":"18:54","pm":"85","pm- level":"良","pm-num":"2","pm-url":"http:\/\/pm25.moji001.com\/aqi\/index- 1623.html"},"update_time":"2014-05-16 22:34:37","t":1400251909,"from":"cache"})[/mw_shl_code]


这个是"金山网址导航"上的!!有pm值的奥!!!!     


http:\\pm25.moji001.com\aqi\index-1623.html   


而这个是墨迹官网的空气质量网页,也就是说在那里,可能有好东西奥!!!哈哈   1623  是城市代码,至于怎么找到是个难题(先买个关子了),今天晚上墨迹的网页挂掉了,我也没办法说清楚,哪天好了,我另外再出个详细的教程,这样小伙伴们就不用在看我了!!!!


废话并不多说贴接口......................

http://weather.123.duba.net/static/weather_info/101121301.html


======================================================

下一个!!!!!!!!!!!!!!!!!!!!嗯   来自小米!!!!!!

[mw_shl_code=java,true]{"forecast":{"city":"威 海","city_en":"weihai","cityid":"101121301","date":"","date_y":"2014年05月 16日","fchh":"18","fl1":"3-4级","fl2":"3-4级","fl3":"3-4级","fl4":"3-4级转4-5 级","fl5":"3-4级转4-5级","fl6":"微风","fx1":"东北风转南风","fx2":"南 风","img1":"","img10":"","img11":"","img12":"","img2":"","img3":"","img4":"","img5":"","img6":"","img7":"","img8":"","img9":"","img_single":"","img_title1":" 多云","img_title10":"多云","img_title11":"晴","img_title12":" 晴","img_title2":"晴","img_title3":"晴","img_title4":"晴","img_title5":" 晴","img_title6":"多云","img_title7":"阵雨","img_title8":"多云","img_title9":" 晴","img_title_single":"","index":"较舒 适","index48":"","index48_d":"","index48_uv":"","index_ag":"易 发","index_cl":"较适宜","index_co":"舒适","index_d":"","index_ls":"适 宜","index_tr":"适宜","index_uv":"中等","index_xc":"适 宜","st1":"","st2":"","st3":"","st4":"","st5":"","st6":"","temp1":"14℃~23℃","temp2":"15℃~26℃","temp3":"15℃~25℃","temp4":"13℃~22℃","temp5":"12℃~22℃","temp6":"0℃~0℃","tempF1":"","tempF2":"","tempF3":"","tempF4":"","tempF5":"","tempF6":"","weather1":" 多云转晴","weather2":"晴","weather3":"晴转多云","weather4":"阵雨转多云","weather5":"晴转 多云","weather6":"晴","week":"星期二","wind1":"东北风转南风","wind2":"南风","wind3":"南 风","wind4":"南风转北风","wind5":"南风转北风","wind6":"微风"},"realtime": {"SD":"73%","WD":"西北风","WS":"2 级","WSE":"","city":"","cityid":"101121301","isRadar":"1","radar":"JC_RADAR_AZ9010_JB","temp":"16","time":"22:30","weather":" 多云"},"alert":[],"aqi":{"city":"威 海","city_id":"101121301","pub_time":"2014-05-16 22:00","aqi":"86","pm25":"57","pm10":"122","so2":"10","no2":"46","src":" 中国环境监测总站","spot":""},"index":[{"code":"fs","details":"属中等强度紫外辐射天气,外出时应注意 防护,建议涂擦SPF指数高于15,PA+的防晒护肤品。","index":"中等","name":"防晒指数","otherName":""}, {"code":"ct","details":"建议着薄外套、开衫牛仔衫裤等服装。年老体弱者应适当添加衣物,宜着夹克衫、薄毛衣 等。","index":"较舒适","name":"穿衣指数","otherName":""},{"code":"yd","details":" 天气较好,但风力较大,推荐您进行室内运动,若在户外运动请注意防风。","index":"较适宜","name":"运动指 数","otherName":""},{"code":"xc","details":"适宜洗车,未来持续两天无雨天气较好,适合擦洗汽车,蓝天白 云、风和日丽将伴您的车子连日洁净。","index":"适宜","name":"洗车指数","otherName":""}, {"code":"ls","details":"天气不错,适宜晾晒。赶紧把久未见阳光的衣物搬出来吸收一下太阳的味道吧!","index":"适 宜","name":"晾晒指数","otherName":""}],"accu_cc": {"EpochTime":"1400250000","Pressure":"1006.6"},"accu_f5": {"EffectiveEpochDate":"1400281200","DailyForecasts": [{"EpochDate":"1400194800","Sun_EpochRise":"1400186520","Sun_EpochSet":"1400237640"}, {"EpochDate":"1400281200","Sun_EpochRise":"1400272860","Sun_EpochSet":"1400324100"}, {"EpochDate":"1400367600","Sun_EpochRise":"1400359260","Sun_EpochSet":"1400410560"}, {"EpochDate":"1400454000","Sun_EpochRise":"1400445600","Sun_EpochSet":"1400497020"}, {"EpochDate":"1400540400","Sun_EpochRise":"1400531940","Sun_EpochSet":"1400583420"}]},"today": {"cityCode":"101121301","date":"2014-05-16","humidityMax":74,"humidityMin":21,"precipitationMax":0,"precipitationMin":0,"tempMax":28,"tempMin":16,"weatherEnd":" 多云","weatherStart":"晴","windDirectionEnd":"西北风","windDirectionStart":"南 风","windMax":3,"windMin":0},"yestoday": {"cityCode":"101121301","date":"2014-05-15","humidityMax":57,"humidityMin":15,"precipitationMax":0,"precipitationMin":0,"tempMax":26,"tempMin":15,"weatherEnd":" 晴","weatherStart":"多云","windDirectionEnd":"北风","windDirectionStart":"西 风","windMax":5,"windMin":0}}[/mw_shl_code]



其实吧,这个更全,预报,加空气质量.......

http://weatherapi.market.xiaomi.com/wtr-v2/weather?cityId=101121301



行行好吧!!!回复一下又不会怀孕!!!!


====================================================

还有一个..........貌似挺多的啊!!!!这两天闲慌了,就搞这个了....没办法


[mw_shl_code=java,true]{"weatherinfo":{"city":"重 庆","city_en":"chongqing","date_y":"2014年5月16日","date":"四月十八","week":"星期 五","fchh":"18","cityid":"101040100","temp1":"17℃~23℃","temp2":"18℃~27℃","temp3":"19℃~25℃","temp4":"21℃~32℃","temp5":"20℃~26℃","temp6":"19℃~25℃","tempF1":"62.6℉~73.4℉","tempF2":"64.4℉~80.6℉","tempF3":"66.2℉~77℉","tempF4":"69.8℉~89.6℉","tempF5":"68℉~78.8℉","tempF6":"66.2℉~77℉","weather1":" 阵雨转阴","weather2":"多云","weather3":"阵雨","weather4":"多云","weather5":"阵雨转 阴","weather6":"阵雨转 阴","img1":"3","img2":"2","img3":"1","img4":"99","img5":"3","img6":"99","img7":"1","img8":"99","img9":"3","img10":"2","img11":"3","img12":"2","img_single":"2","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":"微风","wind2":"微风","wind3":"微 风","wind4":"微风","wind5":"微风","wind6":"微风","fx1":"微风","fx2":"微风","fl1":"小 于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":"24","st2":"15","st3":"27","st4":"18","st5":"24","st6":"17","index_cl":" 较适宜","index_ls":"不太适宜","index_ag":"极不易发"}}[/mw_shl_code]


[mw_shl_code=java,true]{"weatherinfo":{"city":"重 庆","cityid":"101040100","temp":"18","WD":"西北风","WS":"2 级","SD":"88%","WSE":"2","time":"22:45","isRadar":"1","Radar":"JC_RADAR_AZ9230_JB"}}[/mw_shl_code]


此地址来自一个叫做   "中央天气预报"  的应用.....不会被查水表吧????

具体数据自己看吧
http://weather.51wnl.com/weatherinfo/GetMoreWeather?cityCode=101040100&weatherType=0

http://weather.51wnl.com/weatherinfo/GetMoreWeather?cityCode=101040100&weatherType=1

你可能感兴趣的:(中国天气api接口,全json数据(第二弹))