Location of interest
Type of forecast point | daily
Optional
options: WeatherReqParamsOptions
Retrieve point forecast data for the next eight point intervalss
getForecasts(
{latitude: 16.34765, longitude: 12.5432},
'point',
{maxCount: 8}
);
[
{
"date": "2024-05-03T06:00:00.259Z",
"type": "point",
"outside": { ... }
},
{
"date": "2024-05-03T05:00:00.259Z",
"type": "point",
"outside": { ... }
}
]
Retrieves observation data from the weather provider for the supplied position. The returned array of observations should be ordered in descending date order.
Location of interest
Optional
options: WeatherReqParamsOptions
Retrieves warning data from the weather provider for the supplied position. The returned array of warnings should be ordered in ascending date order.
Retrieves forecast data from the weather provider for the supplied position, forecast type and number of intervals. The returned array of forecasts should be ordered in ascending date order.