##全国天气预报 ###1、根据城市名/id查询天气 > key: f75d2b8d7698be793d5d3bedc32044cc +++ get:/weather/index *cityname#城市名或城市ID,如:"苏州",需要utf8 urlencode dtype=json#返回数据格式:json或xml,默认json int:format=1#未来6天预报(future)两种返回格式,1或2,默认1 *key#你申请的key <<< JSON返回示例 { "resultcode": "200", "reason": "查询成功!", "result": { "sk": { /*当前实况天气*/ "temp": "21", /*当前温度*/ "wind_direction": "西风", /*当前风向*/ "wind_strength": "2级", /*当前风力*/ "humidity": "4%", /*当前湿度*/ "time": "14:25" /*更新时间*/ }, "today": { "city": "天津", "date_y": "2014年03月21日", "week": "星期五", "temperature": "8℃~20℃", /*今日温度*/ "weather": "晴转霾", /*今日天气*/ "weather_id": { /*天气唯一标识*/ "fa": "00", /*天气标识00:晴*/ "fb": "53" /*天气标识53:霾 如果fa不等于fb,说明是组合天气*/ } } }, "error_code": 0 } <<< XML返回示例 ....... +++