獲取開源天氣信息的API


免費_當日或未來幾日

k780:http://www.k780.com/api/weather.history

接口地址:http://api.k780.com:88/?app=weather.history&weaid=1&date=2015-07-20&appkey=10003&sign=b59bc3ef6191eb9f747dd4e83c99f2a4&format=json

 

中華萬年歷:

http://wthrcdn.etouch.cn/weather_mini?city=北京

通過城市名字獲得天氣數據,json數據

http://wthrcdn.etouch.cn/weather_mini?citykey=101010100

通過城市id獲得天氣數據,json數據

http://wthrcdn.etouch.cn/WeatherApi?citykey=101010100

通過城市id獲得天氣數據,xml文件數據,

http://wthrcdn.etouch.cn/WeatherApi?city=北京

通過城市名字獲得天氣數據,xml文件數據

 

小米:

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

 

中央天氣預報:

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

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

 

其他來源:

新浪天氣預報API:http://php.weather.sina.com.cn/xml.php?city=%B1%B1%BE%A9&password=DJOYnieT8234jlsK&day=0

 

 

免費_歷史天氣

天氣網:http://lishi.tianqi.com/acheng/index.html

 

 

收費_聚合數據

天氣預報:https://www.juhe.cn/docs/api/id/73

全國天氣預報:https://www.juhe.cn/docs/api/id/39

 

 

友情鏈接

(別人已經整理好的,有效性未驗證)

天氣API接口大全(nohacks.cn 收集整理):http://www.nohacks.cn/post-35.html

網上的天氣 API 哪一個更加可靠?:https://www.zhihu.com/question/20575288

免費的天氣接口(滿足你的大部分需求):http://blog.csdn.net/wanghao940101/article/details/72123184

真正的中國天氣api接口xml,json(求加精) ...:http://blog.csdn.net/fancylovejava/article/details/26102635

免費的天氣接口(滿足你的大部分需求):http://blog.csdn.net/wanghao940101/article/details/72123184
————————————————
版權聲明:本文為CSDN博主「csdn_yuan88」的原創文章,遵循CC 4.0 BY-SA版權協議,轉載請附上原文出處鏈接及本聲明。
原文鏈接:https://blog.csdn.net/u011331731/article/details/72765410

 

 

 

 

比如,獲取天氣的API

 http://wthrcdn.etouch.cn/weather_mini?city=杭州

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2026 CODEPRJ.COM