getWeatherQuality
Requires:
@ray-js/ray≥1.5.2
Method signature
getWeatherQuality(params: )Description
Get today’s weather and air quality by device ID
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Request parameters |
Return Value
Type: Promise<IGetWeatherQualityResponse>
Weather and air quality information, including city info, temperature, humidity, wind direction, wind speed, air quality index, etc.
Referenced Types
interface
IGetWeatherQualityResponse| Property | Type | Description |
|---|---|---|
| City list | ||
| Weather and air quality information |