http://3g.tianqi.cn/getAllCitys.do
得到所有城市
下面所有的需要session支持
http://3g.tianqi.cn/loginSk.do?cityCode=01010101
第一次使用时需调用此方法,同时得到天气信息,将城市数据保存在session中,所以程序需要session支持,有了session,下面的接口都不用再带参数, 如果没session默认为北京,
http://3g.tianqi.cn/getCfData.do?type=first
得到未来三天天气
http://3g.tianqi.cn/getCfData.do?type=more
得到剩下三天天气,和上面一共7天(今天)
http://3g.tianqi.cn/getZuData.do?type=health
健康指数
http://3g.tianqi.cn/getZuData.do?type=outdoor
室外指数
http://3g.tianqi.cn/getZuData.do?type=relaxing
休闲指数
http://3g.tianqi.cn/getPrealarmData.do
预警信息
http://3g.tianqi.cn/getAllPrealarmByIndex.do?index=0
得到全国天气信息 index为索引值