weather-forecast

Function

Get multi-day weather forecast for a location via Open-Meteo API

Syntax

$forecast = weather-forecast "Paris"

7-day forecast for city (default)

$forecast = weather-forecast "Tokyo" 14

custom days forecast for city (1-16)

$forecast = weather-forecast $city

forecast with city from variable

$forecast = weather-forecast $city $days

custom days with city and days from variables

$forecast = weather-forecast $lat $lon $days

forecast with coordinates and days from variables

$result, $error, $details = weather-forecast "Berlin"

extended result with city name

$result, $error, $details = weather-forecast "Rome" 10

extended result with custom days

$result, $error, $details = weather-forecast $city $days

extended result with variables

Developer Reference
Set: weather
Version: 0.0.0-2
Encoding: T_OP_S8
Sizes: 2-10
Actcode: 2967403005
Set ID: 168