getWeatherQuality
版本要求:
@ray-js/ray≥1.5.2
方法签名
getWeatherQuality(params: )描述
通过设备 ID 获取当天天气及空气质量
参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| 是 | 请求参数 |
返回值
类型:Promise<IGetWeatherQualityResponse>
天气及空气质量信息,包含城市信息、温度、湿度、风向、风速、空气质量指数等
引用对象
interface
IGetWeatherQualityResponse| 属性 | 类型 | 描述 |
|---|---|---|
| 城市列表 | ||
| 天气及空气质量信息 |