前不久需要天气数据,首先想到的便是百度家的apistore,,,
然而百度家免费的东西,,,我就呵呵呵了,,,
偶然找到几个有好点的,来和大家分享一下。。。
==========================切割一下==========================
1.小米家的
http://weatherapi.market.xiaomi.com/wtr-v2/weather?cityId=101010100
{“forecast”:{“city”:”北京”,”city_en”:”beijing”,”cityid”:”101010100”,”date”:”“,”date_y”:”2016年05月21日”,”fchh”:”18”,”fl1”:”小于3级”,”fl2”:”小于3级”,”fl3”:”3-4级”,”fl4”:”小于3级转3-4级”,”fl5”:”小于3级转3-4级”,”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”:”29℃~15℃”,”temp2”:”29℃~18℃”,”temp3”:”23℃~15℃”,”temp4”:”29℃~17℃”,”temp5”:”28℃~17℃”,”temp6”:”0℃~0℃”,”tempF1”:”“,”tempF2”:”“,”tempF3”:”“,”tempF4”:”“,”tempF5”:”“,”tempF6”:”“,”weather1”:”晴”,”weather2”:”霾转阵雨”,”weather3”:”阵雨转晴”,”weather4”:”晴转阴”,”weather5”:”阴”,”weather6”:”晴”,”week”:”星期二”,”wind1”:”微风”,”wind2”:”微风”,”wind3”:”北风”,”wind4”:”无持续风向转南风”,”wind5”:”无持续风向转南风”,”wind6”:”微风”},”realtime”:{“SD”:”28%”,”WD”:”东南风”,”WS”:”2级”,”WSE”:”“,”city”:”“,”cityid”:”101010100”,”isRadar”:”1”,”radar”:”JC_RADAR_AZ9010_JB”,”temp”:”25”,”time”:”19:45”,”weather”:”晴”},”alert”:[],”aqi”:{“city”:”北京”,”city_id”:”101010100”,”pub_time”:”2016-05-21 19:00”,”aqi”:”80”,”pm25”:”33”,”pm10”:”46”,”so2”:”8”,”no2”:”23”,”src”:”中国环境监测总站”,”spot”:”“},”index”:[{“code”:”fs”,”details”:”属中等强度紫外辐射天气,外出时应注意防护,建议涂擦SPF指数高于15,PA+的防晒护肤品。”,”index”:”中等”,”name”:”防晒指数”,”otherName”:”“},{“code”:”ct”,”details”:”天气热,建议着短裙、短裤、短薄外套、T恤等夏季服装。”,”index”:”热”,”name”:”穿衣指数”,”otherName”:”“},{“code”:”yd”,”details”:”天气较好,户外运动请注意防晒,推荐您在室内进行低强度运动。”,”index”:”较适宜”,”name”:”运动指数”,”otherName”:”“},{“code”:”xc”,”details”:”较适宜洗车,未来一天无雨,风力较小,擦洗一新的汽车至少能保持一天。”,”index”:”较适宜”,”name”:”洗车指数”,”otherName”:”“},{“code”:”ls”,”details”:”天气不错,极适宜晾晒。抓紧时机把久未见阳光的衣物搬出来晒晒太阳吧!”,”index”:”极适宜”,”name”:”晾晒指数”,”otherName”:”“}],”accu_cc”:{“EpochTime”:”1463829480”,”LocalObservationDateTime”:”2016-05-21T19:18:00+08:00”,”Pressure”:”1018.0”,”RealFeelTemperature”:”24.4”,”RelativeHumidity”:”26”,”UVIndex”:”0”,”Visibility”:”19.3”,”WindDirectionDegrees”:”135”,”WindSpeed”:”8.0”},”accu_f5”:{“EffectiveEpochDate”:”1463979600”,”EffectiveDate”:”2016-05-23T13:00:00+08:00”,”DailyForecasts”:[{“Date”:”2016-05-21T07:00:00+08:00”,”EpochDate”:”1463785200”,”Sun_Rise”:”2016-05-21T04:54:00+08:00”,”Sun_EpochRise”:”1463777640”,”Sun_Set”:”2016-05-21T19:28:00+08:00”,”Sun_EpochSet”:”1463830080”,”PrecipitationProbability”:”15”},{“Date”:”2016-05-22T07:00:00+08:00”,”EpochDate”:”1463871600”,”Sun_Rise”:”2016-05-22T04:53:00+08:00”,”Sun_EpochRise”:”1463863980”,”Sun_Set”:”2016-05-22T19:29:00+08:00”,”Sun_EpochSet”:”1463916540”,”PrecipitationProbability”:”0”},{“Date”:”2016-05-23T07:00:00+08:00”,”EpochDate”:”1463958000”,”Sun_Rise”:”2016-05-23T04:53:00+08:00”,”Sun_EpochRise”:”1463950380”,”Sun_Set”:”2016-05-23T19:30:00+08:00”,”Sun_EpochSet”:”1464003000”,”PrecipitationProbability”:”60”},{“Date”:”2016-05-24T07:00:00+08:00”,”EpochDate”:”1464044400”,”Sun_Rise”:”2016-05-24T04:52:00+08:00”,”Sun_EpochRise”:”1464036720”,”Sun_Set”:”2016-05-24T19:31:00+08:00”,”Sun_EpochSet”:”1464089460”,”PrecipitationProbability”:”2”},{“Date”:”2016-05-25T07:00:00+08:00”,”EpochDate”:”1464130800”,”Sun_Rise”:”2016-05-25T04:51:00+08:00”,”Sun_EpochRise”:”1464123060”,”Sun_Set”:”2016-05-25T19:32:00+08:00”,”Sun_EpochSet”:”1464175920”,”PrecipitationProbability”:”25”}]},”today”:{“cityCode”:”101010100”,”date”:”2016-05-21”,”humidityMax”:66,”humidityMin”:14,”precipitationMax”:0,”precipitationMin”:0,”tempMax”:29,”tempMin”:16,”weatherEnd”:”晴”,”weatherStart”:”霾”,”windDirectionEnd”:”东南风”,”windDirectionStart”:”东风”,”windMax”:3,”windMin”:1},”yestoday”:{“cityCode”:”101010100”,”date”:”2016-05-20”,”humidityMax”:65,”humidityMin”:24,”precipitationMax”:0,”precipitationMin”:0,”tempMax”:28,”tempMin”:17,”weatherEnd”:”霾”,”weatherStart”:”霾”,”windDirectionEnd”:”东风”,”windDirectionStart”:”西南风”,”windMax”:3,”windMin”:1}}
看到这,,是不是很激动???对json数据,未来五天的天气。。。全了!!!
包含实时气温,感冒指数,未来五天天气(风力,风向,高低温,时间),空气质量指数(有的城市没有),城市名称
==========================再切一下==========================
**如果这还不够,下面还有,,,
2.中华万年历家的:**
http://zhwnlapi.etouch.cn/Ecalender/api/v2/weather?date=20160105&citykey=101010100
以下是返回数据
{“source”:{“title”:”中国天气网”,”link”:”http://m.weather.com.cn/mhours/101010100.shtml?from=zhwnl“},”forecast”:[{“sunset”:”19:26”,”night”:{“wthr”:”霾”,”bgPic”:”http://static.etouch.cn/imgs/upload/1442472108.7831.jpg“,”wp”:”微风”,”notice”:”远离雾霾,杜绝帕莱德”,”type”:33,”wd”:”无持续风向”},”sunrise”:”04:56”,”high”:29,”day”:{“wthr”:”晴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1452688905.7999.jpg“,”wp”:”微风”,”type”:1,”notice”:”晴空万里,去沐浴阳光吧”,”wd”:”无持续风向”},”date”:”20160520”,”low”:16},{“sunset”:”19:27”,”night”:{“wthr”:”晴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1457433027.4018.jpg“,”wp”:”微风”,”wd”:”无持续风向”,”type”:1,”notice”:”lovely sunshine,尽情享受阳光的温暖吧”},”high”:30,”day”:{“wthr”:”晴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1452688905.7999.jpg“,”wp”:”微风”,”type”:1,”notice”:”晴空万里,去沐浴阳光吧”,”wd”:”无持续风向”},”sunrise”:”04:55”,”low”:15,”date”:”20160521”},{“sunset”:”19:28”,”night”:{“wthr”:”霾”,”bgPic”:”http://static.etouch.cn/imgs/upload/1442472108.7831.jpg“,”wp”:”微风”,”wd”:”无持续风向”,”type”:33,”notice”:”珍爱生命,远离雾霾”},”day”:{“wthr”:”晴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1452688905.7999.jpg“,”wp”:”微风”,”wd”:”无持续风向”,”notice”:”晴空万里,去沐浴阳光吧”,”type”:1},”high”:29,”sunrise”:”04:55”,”low”:18,”date”:”20160522”},{“sunset”:”19:29”,”night”:{“wthr”:”阵雨”,”bgPic”:”http://static.etouch.cn/suishen/weather/rain.jpg“,”wp”:”3-4级”,”wd”:”北风”,”type”:3,”notice”:”今日有短时阵雨,外出请携带雨具”},”day”:{“wthr”:”阵雨”,”bgPic”:”http://static.etouch.cn/suishen/weather/rain.jpg“,”wp”:”微风”,”wd”:”无持续风向”,”notice”:”今日有短时阵雨,外出请携带雨具”,”type”:3},”high”:23,”sunrise”:”04:54”,”low”:15,”date”:”20160523”},{“sunset”:”19:30”,”night”:{“wthr”:”晴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1457433027.4018.jpg“,”wp”:”微风”,”wd”:”无持续风向”,”type”:1,”notice”:”lovely sunshine,尽情享受阳光的温暖吧”},”day”:{“wthr”:”晴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1452688905.7999.jpg“,”wp”:”3-4级”,”wd”:”北风”,”notice”:”天气干燥,请适当增加室内湿度”,”type”:1},”high”:29,”sunrise”:”04:53”,”low”:17,”date”:”20160524”},{“sunset”:”19:31”,”night”:{“wthr”:”阴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1437731894.2717.jpg“,”wp”:”微风”,”wd”:”无持续风向”,”type”:34,”notice”:”阴天没有晴天的明朗,却依然明亮”},”day”:{“wthr”:”阴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1437731894.2717.jpg“,”wp”:”3-4级”,”wd”:”南风”,”notice”:”灰蒙蒙的天空就像模糊了的眼睛”,”type”:34},”high”:28,”sunrise”:”04:52”,”low”:17,”date”:”20160525”}],”observe”:{“shidu”:”28%”,”wp”:”2级”,”temp”:25,”wd”:”东南风”,”tigan”:”25”},”hourfc”:[{“time”:”201605212000”,”wthr”:22,”shidu”:”47%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605212100”,”wthr”:21,”shidu”:”52%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605212200”,”wthr”:21,”shidu”:”56%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605212300”,”wthr”:20,”shidu”:”60%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605220000”,”wthr”:19,”shidu”:”63%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605220100”,”wthr”:19,”shidu”:”66%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605220200”,”wthr”:18,”shidu”:”69%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605220300”,”wthr”:17,”shidu”:”72%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605220400”,”wthr”:16,”shidu”:”73%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605220500”,”wthr”:15,”shidu”:”72%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605220600”,”wthr”:16,”shidu”:”67%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605220700”,”wthr”:18,”shidu”:”61%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605220800”,”wthr”:20,”shidu”:”56%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605220900”,”wthr”:21,”shidu”:”51%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605221000”,”wthr”:22,”shidu”:”46%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605221100”,”wthr”:23,”shidu”:”42%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605221200”,”wthr”:25,”shidu”:”40%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605221300”,”wthr”:26,”shidu”:”39%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605221400”,”wthr”:28,”shidu”:”38%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605221500”,”wthr”:29,”shidu”:”37%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605221600”,”wthr”:29,”shidu”:”36%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605221700”,”wthr”:28,”shidu”:”37%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605221800”,”wthr”:27,”shidu”:”40%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1},{“time”:”201605221900”,”wthr”:25,”shidu”:”44%”,”wp”:”5-6级”,”wd”:”无持续风向”,”type”:1}],”indexes”:[{“desc”:”天气不错,空气清新,是您晨练的大好时机,建议不同年龄段的人们积极参加户外健身活动。”,”name”:”晨练指数”,”value”:”适宜”},{“desc”:”天气热,建议着短裙、短裤、短薄外套、T恤等夏季服装。”,”name”:”穿衣指数”,”value”:”热”},{“desc”:”白天天气晴好,明媚的阳光在给您带来好心情的同时,也会使您感到有些热,不很舒适。”,”name”:”舒适度指数”,”value”:”较不舒适”},{“desc”:”天气转凉,空气湿度较大,较易发生感冒,体质较弱的朋友请注意适当防护。”,”name”:”感冒指数”,”value”:”较易发”},{“desc”:”属中等强度紫外线辐射天气,外出时建议涂擦SPF高于15、PA+的防晒护肤品,戴帽子、太阳镜。”,”name”:”紫外线强度指数”,”value”:”中等”},{“desc”:”天气较好,温度适宜,是个好天气哦。这样的天气适宜旅游,您可以尽情地享受大自然的风光。”,”name”:”旅游指数”,”value”:”适宜”},{“desc”:”较适宜洗车,未来一天无雨,风力较小,擦洗一新的汽车至少能保持一天。”,”name”:”洗车指数”,”value”:”较适宜”},{“desc”:”天气不错,极适宜晾晒。抓紧时机把久未见阳光的衣物搬出来晒晒太阳吧!”,”name”:”晾晒指数”,”value”:”极适宜”},{“desc”:”较适合垂钓,但天气稍热,会对垂钓产生一定的影响。”,”name”:”钓鱼指数”,”value”:”较适宜”},{“desc”:”天气较热,建议用露质面霜打底,水质无油粉底霜,透明粉饼,粉质胭脂。”,”name”:”化妆指数”,”value”:”去油”},{“desc”:”天气较好,户外运动请注意防晒,推荐您在室内进行低强度运动。”,”name”:”运动指数”,”value”:”较适宜”},{“desc”:”天气较好,您在出门的时候无须带雨伞。”,”name”:”雨伞指数”,”value”:”不带伞”},{“desc”:”天气较好,和恋人携手出游,实在是增进感情、享受浪漫的人生乐事。”,”name”:”约会指数”,”value”:”适宜”}],”xianhao”:[{“title”:”限行”,”f_date”:”20131202”,”share_link”:”http://lz.rili.cn/t/479955“,”action_type”:”post”,”item_id”:”1087733”,”f_number”:”无”,”post_id”:”479955”},{“title”:”限行”,”f_date”:”20160523”,”share_link”:”http://lz.rili.cn/t/479955“,”action_type”:”post”,”item_id”:”1087733”,”f_number”:”2,7”,”post_id”:”479955”},{“title”:”限行”,”f_date”:”20160524”,”share_link”:”http://lz.rili.cn/t/479955“,”action_type”:”post”,”item_id”:”1087735”,”f_number”:”3,8”,”post_id”:”479955”},{“title”:”限行”,”f_date”:”20160525”,”share_link”:”http://lz.rili.cn/t/479955“,”action_type”:”post”,”item_id”:”1087737”,”f_number”:”4,9”,”post_id”:”479955”},{“title”:”限行”,”f_date”:”20160526”,”share_link”:”http://lz.rili.cn/t/479955“,”action_type”:”post”,”item_id”:”1087739”,”f_number”:”5,0”,”post_id”:”479955”},{“title”:”限行”,”f_date”:”20160527”,”share_link”:”http://lz.rili.cn/t/479955“,”action_type”:”post”,”item_id”:”1087741”,”f_number”:”1,6”,”post_id”:”479955”},{“title”:”限行”,”f_date”:”20160530”,”share_link”:”http://lz.rili.cn/t/479955“,”action_type”:”post”,”item_id”:”1087743”,”f_number”:”2,7”,”post_id”:”479955”},{“title”:”限行”,”f_date”:”20160531”,”share_link”:”http://lz.rili.cn/t/479955“,”action_type”:”post”,”item_id”:”1087745”,”f_number”:”3,8”,”post_id”:”479955”}],”evn”:{“time”:”19:00:00”,”co”:1,”mp”:”臭氧8小时”,”so2”:7,”o3”:187,”no2”:22,”quality”:”中度污染”,”aqi”:160,”pm10”:45,”suggest”:”儿童、老年人及心脏、呼吸系统疾病患者人群应减少长时间或高强度户外锻炼,一般人群适量减少户外运动”,”pm25”:33},”meta”:{“html_url”:”http://yun.rili.cn/tianqi/1o4zw4.html“,”status”:1000,”post_count”:3451,”up_time”:”19:45”,”citykey”:”101010100”,”post_id”:”501391”,”city”:”北京”},”forecast15”:[{“sunset”:”19:26”,”night”:{“wthr”:”霾”,”bgPic”:”http://static.etouch.cn/imgs/upload/1442472108.7831.jpg“,”wp”:”微风”,”notice”:”远离雾霾,杜绝帕莱德”,”type”:33,”wd”:”无持续风向”},”sunrise”:”04:56”,”high”:29,”day”:{“wthr”:”晴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1452688905.7999.jpg“,”wp”:”微风”,”type”:1,”notice”:”晴空万里,去沐浴阳光吧”,”wd”:”无持续风向”},”date”:”20160520”,”low”:16},{“sunset”:”19:27”,”night”:{“wthr”:”晴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1457433027.4018.jpg“,”wp”:”微风”,”wd”:”无持续风向”,”type”:1,”notice”:”lovely sunshine,尽情享受阳光的温暖吧”},”high”:30,”day”:{“wthr”:”晴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1452688905.7999.jpg“,”wp”:”微风”,”type”:1,”notice”:”晴空万里,去沐浴阳光吧”,”wd”:”无持续风向”},”sunrise”:”04:55”,”low”:15,”date”:”20160521”},{“sunset”:”19:28”,”night”:{“wthr”:”霾”,”bgPic”:”http://static.etouch.cn/imgs/upload/1442472108.7831.jpg“,”wp”:”微风”,”wd”:”无持续风向”,”type”:33,”notice”:”珍爱生命,远离雾霾”},”day”:{“wthr”:”晴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1452688905.7999.jpg“,”wp”:”微风”,”wd”:”无持续风向”,”notice”:”晴空万里,去沐浴阳光吧”,”type”:1},”high”:29,”sunrise”:”04:55”,”low”:18,”date”:”20160522”},{“sunset”:”19:29”,”night”:{“wthr”:”阵雨”,”bgPic”:”http://static.etouch.cn/suishen/weather/rain.jpg“,”wp”:”3-4级”,”wd”:”北风”,”type”:3,”notice”:”今日有短时阵雨,外出请携带雨具”},”day”:{“wthr”:”阵雨”,”bgPic”:”http://static.etouch.cn/suishen/weather/rain.jpg“,”wp”:”微风”,”wd”:”无持续风向”,”notice”:”今日有短时阵雨,外出请携带雨具”,”type”:3},”high”:23,”sunrise”:”04:54”,”low”:15,”date”:”20160523”},{“sunset”:”19:30”,”night”:{“wthr”:”晴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1457433027.4018.jpg“,”wp”:”微风”,”wd”:”无持续风向”,”type”:1,”notice”:”lovely sunshine,尽情享受阳光的温暖吧”},”day”:{“wthr”:”晴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1452688905.7999.jpg“,”wp”:”3-4级”,”wd”:”北风”,”notice”:”天气干燥,请适当增加室内湿度”,”type”:1},”high”:29,”sunrise”:”04:53”,”low”:17,”date”:”20160524”},{“sunset”:”19:31”,”night”:{“wthr”:”阴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1437731894.2717.jpg“,”wp”:”微风”,”wd”:”无持续风向”,”type”:34,”notice”:”阴天没有晴天的明朗,却依然明亮”},”day”:{“wthr”:”阴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1437731894.2717.jpg“,”wp”:”3-4级”,”wd”:”南风”,”notice”:”灰蒙蒙的天空就像模糊了的眼睛”,”type”:34},”high”:28,”sunrise”:”04:52”,”low”:17,”date”:”20160525”},{“sunset”:”19:32”,”night”:{“wthr”:”晴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1457433027.4018.jpg“,”wp”:”微风”,”wd”:”无持续风向”,”type”:1,”notice”:”晴空万里,去沐浴阳光吧”},”day”:{“wthr”:”晴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1452688905.7999.jpg“,”wp”:”微风”,”wd”:”无持续风向”,”notice”:”晴空万里,去沐浴阳光吧”,”type”:1},”high”:30,”sunrise”:”04:52”,”low”:18,”date”:”20160526”},{“sunset”:”19:32”,”night”:{“wthr”:”多云”,”bgPic”:”http://static.etouch.cn/imgs/upload/1457433044.263.jpg“,”wp”:”微风”,”wd”:”无持续风向”,”type”:2,”notice”:”今日多云,骑上单车去看看世界吧”},”day”:{“wthr”:”多云”,”bgPic”:”http://static.etouch.cn/imgs/upload/1445588313.6732.jpg“,”wp”:”微风”,”wd”:”无持续风向”,”notice”:”悠悠的云里有淡淡的诗”,”type”:2},”high”:31,”sunrise”:”04:51”,”low”:19,”date”:”20160527”},{“sunset”:”19:33”,”night”:{“wthr”:”多云”,”bgPic”:”http://static.etouch.cn/imgs/upload/1457433044.263.jpg“,”wp”:”微风”,”wd”:”无持续风向”,”type”:2,”notice”:”悠悠的云里有淡淡的诗”},”day”:{“wthr”:”多云”,”bgPic”:”http://static.etouch.cn/imgs/upload/1445588313.6732.jpg“,”wp”:”微风”,”wd”:”无持续风向”,”notice”:”今日多云,骑上单车去看看世界吧”,”type”:2},”high”:32,”sunrise”:”04:51”,”low”:15,”date”:”20160528”},{“sunset”:”19:34”,”night”:{“wthr”:”多云”,”bgPic”:”http://static.etouch.cn/imgs/upload/1457433044.263.jpg“,”wp”:”微风”,”wd”:”东北风”,”type”:2,”notice”:”今日多云,骑上单车去看看世界吧”},”day”:{“wthr”:”多云”,”bgPic”:”http://static.etouch.cn/imgs/upload/1445588313.6732.jpg“,”wp”:”4-5级”,”wd”:”东北风”,”notice”:”今日多云,骑上单车去看看世界吧”,”type”:2},”high”:31,”sunrise”:”04:50”,”low”:18,”date”:”20160529”},{“sunset”:”19:35”,”night”:{“wthr”:”小雨”,”bgPic”:”http://static.etouch.cn/suishen/weather/rain.jpg“,”wp”:”微风”,”wd”:”西风”,”type”:8,”notice”:”雾蒙蒙的雨天,最喜欢一个人听音乐”},”day”:{“wthr”:”多云”,”bgPic”:”http://static.etouch.cn/imgs/upload/1445588313.6732.jpg“,”wp”:”微风”,”wd”:”西北风”,”notice”:”绵绵的云朵,形状千变万化”,”type”:2},”high”:34,”sunrise”:”04:49”,”low”:19,”date”:”20160530”},{“sunset”:”19:36”,”night”:{“wthr”:”小雨”,”bgPic”:”http://static.etouch.cn/suishen/weather/rain.jpg“,”wp”:”微风”,”wd”:”西风”,”type”:8,”notice”:”雾蒙蒙的雨天,最喜欢一个人听音乐”},”day”:{“wthr”:”阴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1437731894.2717.jpg“,”wp”:”微风”,”wd”:”西风”,”notice”:”灰蒙蒙的天空就像模糊了的眼睛”,”type”:34},”high”:34,”sunrise”:”04:49”,”low”:19,”date”:”20160531”},{“sunset”:”19:36”,”night”:{“wthr”:”多云”,”bgPic”:”http://static.etouch.cn/imgs/upload/1457433044.263.jpg“,”wp”:”微风”,”wd”:”北风”,”type”:2,”notice”:”悠悠的云里有淡淡的诗”},”day”:{“wthr”:”多云”,”bgPic”:”http://static.etouch.cn/imgs/upload/1445588313.6732.jpg“,”wp”:”微风”,”wd”:”西北风”,”notice”:”绵绵的云朵,形状千变万化”,”type”:2},”high”:32,”sunrise”:”04:48”,”low”:18,”date”:”20160601”},{“sunset”:”19:37”,”night”:{“wthr”:”阴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1437731894.2717.jpg“,”wp”:”微风”,”wd”:”北风”,”type”:34,”notice”:”灰蒙蒙的天空就像模糊了的眼睛”},”day”:{“wthr”:”阴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1437731894.2717.jpg“,”wp”:”微风”,”wd”:”东南风”,”notice”:”阴天是彩虹的前期之景”,”type”:34},”high”:31,”sunrise”:”04:48”,”low”:19,”date”:”20160602”},{“sunset”:”19:38”,”night”:{“wthr”:”阴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1437731894.2717.jpg“,”wp”:”微风”,”wd”:”西风”,”type”:34,”notice”:”阴天是彩虹的前期之景”},”day”:{“wthr”:”阴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1437731894.2717.jpg“,”wp”:”微风”,”wd”:”西南风”,”notice”:”灰蒙蒙的天空就像模糊了的眼睛”,”type”:34},”high”:33,”sunrise”:”04:48”,”low”:19,”date”:”20160603”},{“sunset”:”19:38”,”night”:{“wthr”:”小雨”,”bgPic”:”http://static.etouch.cn/suishen/weather/rain.jpg“,”wp”:”微风”,”wd”:”东南风”,”type”:8,”notice”:”下雨了不要紧,撑伞挡挡就行”},”day”:{“wthr”:”阴”,”bgPic”:”http://static.etouch.cn/imgs/upload/1437731894.2717.jpg“,”wp”:”微风”,”wd”:”西南风”,”notice”:”灰蒙蒙的天空就像模糊了的眼睛”,”type”:34},”high”:35,”sunrise”:”04:47”,”low”:19,”date”:”20160604”}]}
看到这是不是更激动了,还提供了天气背景图片和咨询,,,
我想你就算做个专业的天气app也都足够了哈!!!
==========================最后来一下==========================
当然,我想很多人不需要这么多,,,所有下面这个也能够满足你
3.和天气:
http://www.heweather.com/documents/api
4.万年历:
http://wthrcdn.etouch.cn/weather_mini?city=北京
(还是万年历,不过返回数据相比前面的较小,,,还可不用城市代码,直接输入城市信息查询)
{“desc”:”OK”,”status”:1000,”data”:{“wendu”:”22”,”ganmao”:”天气转凉,空气湿度较大,较易发生感冒,体质较弱的朋友请注意适当防护。”,”forecast”:[{“fengxiang”:”无持续风向”,”fengli”:”微风级”,”high”:”高温 30℃”,”type”:”晴”,”low”:”低温 15℃”,”date”:”21日星期六”},{“fengxiang”:”无持续风向”,”fengli”:”微风级”,”high”:”高温 29℃”,”type”:”晴”,”low”:”低温 18℃”,”date”:”22日星期天”},{“fengxiang”:”无持续风向”,”fengli”:”微风级”,”high”:”高温 23℃”,”type”:”阵雨”,”low”:”低温 15℃”,”date”:”23日星期一”},{“fengxiang”:”北风”,”fengli”:”3-4级”,”high”:”高温 29℃”,”type”:”晴”,”low”:”低温 17℃”,”date”:”24日星期二”},{“fengxiang”:”南风”,”fengli”:”3-4级”,”high”:”高温 28℃”,”type”:”阴”,”low”:”低温 17℃”,”date”:”25日星期三”}],”yesterday”:{“fl”:”微风”,”fx”:”无持续风向”,”high”:”高温 29℃”,”type”:”晴”,”low”:”低温 16℃”,”date”:”20日星期五”},”aqi”:”148”,”city”:”北京”}}
5.中央气象局的:
http://www.weather.com.cn/data/sk/101010100.html
http://www.weather.com.cn/data/cityinfo/101010100.html
不过仅仅只有实时数据
{“weatherinfo”:{“city”:”北京”,”cityid”:”101010100”,”temp”:”18”,”WD”:”东南风”,”WS”:”1级”,”SD”:”17%”,”WSE”:”1”,”time”:”17:05”,”isRadar”:”1”,”Radar”:”JC_RADAR_AZ9010_JB”,”njd”:”暂无实况”,”qy”:”1011”,”rain”:”0”}}
6.中央天气预报
http://weather.51wnl.com/weatherinfo/GetMoreWeather?cityCode=101010100&weatherType=0
http://weather.51wnl.com/weatherinfo/GetMoreWeather?cityCode=101010100&weatherType=1
返回数据:
{“weatherinfo”:{“city”:”北京”,”city_en”:”“,”date_y”:”2016年05月21日”,”date”:”“,”week”:”“,”fchh”:0,”cityid”:101010100,”temp1”:”15℃~30℃”,”temp2”:”18℃~29℃”,”temp3”:”15℃~23℃”,”temp4”:”17℃~29℃”,”temp5”:”17℃~28℃”,”temp6”:”18℃~30℃”,”tempF1”:”“,”tempF2”:”“,”tempF3”:”“,”tempF4”:”“,”tempF5”:”“,”tempF6”:”“,”weather1”:”晴”,”weather2”:”晴转霾”,”weather3”:”阵雨”,”weather4”:”晴”,”weather5”:”阴”,”weather6”:”晴”,”img1”:”0”,”img2”:”0”,”img3”:”0”,”img4”:”29”,”img5”:”3”,”img6”:”3”,”img7”:”0”,”img8”:”0”,”img9”:”2”,”img10”:”2”,”img11”:”0”,”img12”:”0”,”img_single”:0,”img_title1”:”“,”img_title2”:”“,”img