接口路径(新):http://api.okayapi.com/api/SVIP/SYCKJ_MyApi/AAYCKJ
接口路径(旧):http://api.okayapi.com/?s=SVIP.SYCKJ_MyApi.AAYCKJ
接口描述: 天气查询结果仅供参考,具体天气情况请自行变化。
Parameter | Type | Required | Default | Note | Description |
---|---|---|---|---|---|
HTTP_APPKEY | String | Required | MIN: 32 | Common Put Your APPKEY | |
chnh | String | Required | 需要搜索的城市,示例中会给出支持查询的城市 |
null
KEY | Type | Description |
---|---|---|
weather | Array | 该地区天气实况 |
weather[].date | String | 日期 |
weather[].time | String | 更新时间 |
weather[].week | String | 周几 |
weather[].city | String | 城市 |
weather[].weather | String | 天气情况 |
weather[].tem | String | 温度 |
weather[].win | String | 风向 |
weather[].win_speed | String | 风速等级 |
weather[].win_meter | String | 风速 |
weather[].humidity | String | 湿度 |
weather[].pressure | String | 气压(hPa) |
weather[].air | String | 空气质量 |
weather[].air_pm25 | String | PM2.5 |
weather[].air_level | String | 空气质量等级 |
weather[].air_tips | String | 空气质量描述 |
weather[].alarm[] | Array | 预警信息 |
weather[].alarm[].alarm_type | String | 预警类型 |
weather[].alarm[].alarm_level | String | 预警级别 |
weather[].alarm[].alarm_content | String | 预警信息 |
Power by OkayAPI.com Contact us (WA: okayapi OR Email: chanzonghuang@gmail.com).
Timezone: America/New_York Apr/25/2024 13:59:38