1.天气api
参考:http://www.eoeandroid.com/thread-333874-1-1.html?_dsign=504b0d1a
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文件数据,
当错误时会有<error>节点
http://wthrcdn.etouch.cn/WeatherApi?city=北京
通过城市名字获得天气数据,xml文件数据
再次说明,接口全是utf-8编码,获取到的数据乱码请自行处理。
http://weather.123.duba.net/static/weather_info/101121301.html
其实吧,这个更全,预报,加空气质量.......
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