http://wthrcdn.etouch.cn/WeatherApi?citykey=101010100
通过城市id获得天气数据,xml文件数据,
当错误时会有<error>节点
http://wthrcdn.etouch.cn/WeatherApi?city=北京
通过城市名字获得天气数据,xml文件数据
获取天气api
猜你喜欢
转载自www.cnblogs.com/GoCircle/p/9040253.html
今日推荐
周排行