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

Developer Reference
Set: weather
Version: 0.0.0-7
Encoding: T_OP_S8
Sizes: 2-8
Actcode: 3504566186
Set ID: 168