全国天气查询
来源:互联网 发布:mac类似sai的绘画软件 编辑:程序博客网 时间:2024/06/03 01:10
全国天气查询接口:
根据城市名称刻查询到该城市的天气情况,湿度,温度,穿衣指数等
详情:http://www.haoservice.com/docs/6
示例演示:
{
"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,说明是组合天气*/
},
"wind": "西南风微风",
"dressing_index": "较冷",
/*穿衣指数*/"dressing_advice":"建议着大衣、呢外套加毛衣、卫衣等服装。",
/*穿衣建议*/"uv_index":"中等",
/*紫外线强度*/"comfort_index":"",
/*舒适度指数*/"wash_index":"较适宜",
/*洗车指数*/"travel_index":"适宜",
/*旅游指数*/"exercise_index":"较适宜",
/*晨练指数*/"drying_index":""/*干燥指数*/
},
"future": {
/*未来几天天气*/"day_20140321":{
"temperature":"8℃~20℃",
"weather": "晴转霾",
"weather_id": {
"fa":"00",
"fb":"53"
},
"wind": "西南风微风",
"week": "星期五",
"date":"20140321"
},
"day_20140322": {
"temperature":"9℃~21℃",
"weather": "霾转多云",
"weather_id": {
"fa":"53",
"fb":"01"
},
"wind": "东北风微风转东南风微风",
"week": "星期六",
"date":"20140322"
},
"day_20140323": {
"temperature":"9℃~19℃",
"weather": "阴",
"weather_id": {
"fa":"02",
"fb":"02"
},
"wind": "南风微风",
"week": "星期日",
"date":"20140323"
},
"day_20140324": {
"temperature":"8℃~19℃",
"weather": "晴转多云",
"weather_id": {
"fa":"00",
"fb":"01"
},
"wind": "西南风微风转南风微风",
"week": "星期一",
"date":"20140324"
},
"day_20140325": {
"temperature":"9℃~20℃",
"weather": "多云",
"weather_id": {
"fa":"01",
"fb":"01"
},
"wind": "南风微风",
"week": "星期二",
"date":"20140325"
},
"day_20140326": {
"temperature":"10℃~19℃",
"weather": "多云",
"weather_id": {
"fa":"01",
"fb":"01"
},
"wind": "南风微风",
"week": "星期三",
"date":"20140326"
},
"day_20140327": {
"temperature":"11℃~20℃",
"weather": "阴转多云",
"weather_id": {
"fa":"02",
"fb":"01"
},
"wind": "南风微风转无持续风向微风",
"week": "星期四",
"date":"20140327"
}
}
}
}
- 全国天气查询
- 全国天气查询
- 全国天气查询
- 全国天气查询、空气质量查询数据接口
- python查询全国主要天气代码
- ajax api 动态查询全国天气信息
- 全国天气
- 全网、全国最好用的基于经纬度的天气查询、天气预报接口
- 全网、全国最好用的基于经纬度的天气查询、天气预报接口
- 天气查询
- 天气查询
- 查询天气
- 天气查询
- 天气查询
- 查询天气
- 查询天气
- 网页插入 全国各城市天气代码
- 通过WebService获取全国各大城市天气
- Google ProtocolBuffer(PB) 简介和实例
- git添加本地忽略文件
- iOS开发之AsyncSocket使用教程
- uboot笔记之makefile分析
- 谈谈Android重打包--架构
- 全国天气查询
- 【控件】UIDatePicker
- python的md5和sha1加密
- 使用Jsoup解析Html
- nasm预处理器(2)
- C++通用漏洞汇总
- Java Base64、AES、SHA1、MD5加密算法
- leetcode-7 Reverse Integer
- Atan2