Skip to main content
Version: Streamsheets 3.0

OPENWEATHER.ONECALL

Premium

Request weather data, current and forecast, for specified location. Please refer to one call API for more information about available options (as of 2021-05-17).

Syntax

=OPENWEATHER.ONECALL(Lat, Lon, [Options], [ResponseTarget])

Arguments

NameTypeDescription
LatNumberLatitude value of geographical coordinates
LonNumberLongitude value of geographical coordinates
Options (optional)JSONJSON containing parameters like exclude, units or lang
ResponseTarget (optional)TargetSpecify inbox, outbox, cell or cell-range to write any response to

Return

TypeDescription
Boolean,Result,ErrorRequest result if no target is specified or TRUE. In case of an error the corresponding error-code is returned.

Examples

AB
1lat50.38
2lon6.57
3excludehourly, minutely
4unitsimperial
FormulaResultComment
=OPENWEATHER.ONECALL(B1,B2)
Request weather data for specified geographical coordinates
=OPENWEATHER.ONECALL(B1,B2, JSON(A3:B4))
Same but exclude hourly and minutely forecast and additionally set measurement units to imperial