weather-current
Function
Get current weather conditions for a location via Open-Meteo API
Syntax
$weather = weather-current "New York"
with city name (auto-geocoded)
$weather = weather-current $city
with city name from variable
$weather = weather-current $lat $lon
with coordinates from variables
$result, $error, $details = weather-current "London"
extended result with city name
$result, $error, $details = weather-current $city
extended result with city variable
$result, $error, $details = weather-current $lat $lon
extended result with coordinate variables