## 景点天气
>[info] 全国4A和5A级景点共2000+的7天天气预报
* * * * *
>[warning] 仅提供国内数据
+++
get:接口地址/attractions
*cityid= # 景点地区只支持使用ID直接获取数据,所有景点ID请参考 http://heweather.com/documents/cn-attractions-list
*key#用户认证key
<<<
{
"HeWeather data service 3.0": [{
"status": "ok", //接口状态
"basic": { //基本信息
"city": "故宫博物院", //景点名称
"cnty": "中国", //国家
"id": "CN10101010018A", //景点ID
"lat": "116.39", //城市维度
"lon": "39.91", //城市经度
"update": { //更新时间,景点天气每天更新三次
"loc": "2015-07-02 08:10", //当地时间
"utc": "2015-07-02 00:10" //UTC时间
}
},
"daily_forecast": [ //7天预报
{
"date": "2015-10-10", //预报日期,第一天
"astro": { //天文数值
"sr": "06:19", //日出时间
"ss": "17:43" //日落时间
},
"cond": { //天气状况,天气状况代码和图标
"code_d": "101", //白天天气状况代码
"code_n": "101", //夜间天气状况代码
"txt_d": "多云", //白天天气状况描述
"txt_n": "多云" //夜间天气状况描述
},
"tmp": { //温度
"max": "16", //最高温度
"min": "10" //最低温度
},
"wind": { //风力风向
"dir": "北风", //风向
"sc": "3-4" //风力
}
},
{......}//第二到第七天重复以上内容,略
]
}
]
}
+++