气象API(2)

中华万年历:

http://wthrcdn.etouch.cn/weather_mini?city=北京
通过城市名字获得天气数据,json数据
http://wthrcdn.etouch.cn/weather_mini?citykey=101010100
通过城市id获得天气数据,json数据

123.毒霸

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

别的地址:

http://wthrcdn.etouch.cn/WeatherApi?citykey=101010100
通过城市id获得天气数据,xml文件数据,
当错误时会有<error>节点
http://wthrcdn.etouch.cn/WeatherApi?city=北京
通过城市名字获得天气数据,xml文件数据

上一篇:jQuery中queue和dequeue的用法


下一篇:SeaJS 模块化加载框架使用