getWeathers
Requires:
@ray-js/ray≥1.5.2
Method signature
getWeathers(params: )Description
Get weather forecast information
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Request parameters |
Return Value
Type: Promise<IGetWeathersResponse>
Weather forecast information, including city info and multi-day weather data (temperature, humidity, wind direction, wind speed, sunrise/sunset times, etc.)
Referenced Types
interface
IGetWeathersResponse| Property | Type | Description |
|---|---|---|
| City information | ||
| Weather forecast data |