查询天气详细信息(二屏信息)
POST
/weather/v1/weatherInfo
接口描述
查询天气详细信息
请求头
参数名
类型
描述
必填
ACCESSTOKEN
string
登录注册时返回的用户ppId
必填
请求参数
参数名
类型
描述
必填
cityId
string
城市id
必填
date
string
日期 格式:yyyy-MM-dd
必填
响应参数
参数名
类型
描述
必填
code
int
返回结果码 1000-成功 非1000-未成功
必填
date
string
日期
必填
ji
string
忌
必填
lunarDate
string
农历日期
必填
shujiufu
string
属九伏
必填
week
string
星期
必填
yi
string
宜
必填
coldDaysNum
int
低温天数
必填
air
string
空气质量指数
必填
airLevel
string
空气质量等级
必填
date
string
日期
必填
temMax
string
最高气温
必填
temMin
string
最低气温
必填
weaDay
string
白天天气描述
必填
weaImgDay
string
白天天气图标
必填
weaImgNight
string
夜晚天气图标
必填
weaNight
string
夜晚天气描述
必填
week
string
星期
必填
win
string
风向
必填
winSpeed
string
风力等级
必填
time
long
当前日期时间戳
必填
hotDaysNum
int
高温天数
必填
air
string
空气指数
必填
aqiLevel
string
空气指数等级
必填
hours
string
小时时间
必填
tem
string
气温
必填
wea
string
天气描述
必填
weaImg
string
天气描述图标
必填
win
string
风向
必填
winSpeed
string
风速等级
必填
rainyDaysNum
int
雨天
必填
sunRise
string
日出时间
必填
sunSet
string
日落时间
必填
avgTem
string
平均温度
必填
downTrend
int
降温天数
必填
rainNum
int
雨天
必填
upTrend
int
升温天数
必填
message
string
返回结果信息
必填