weatherstack_current
Read current weather for a location from Weatherstack.
Read scripts only. Part of the virtual tag expression reference.
Reads the current weather for a location from Weatherstack.
weatherstack_current(query: string, units?: "m" | "s" | "f"): object;
Parameters
query— the location to look up (for example a city name or coordinates).units— the unit system:"m"(metric),"s"(scientific), or"f"(Fahrenheit). Defaults to metric.
Return value
An object with the current temperature, windSpeed, windDegree, windDir,
humidity, and cloudcover.