OPENWEATHER.CURRENT
Premium
Request current weather data for specified location. Please refer to [current API] (https://openweathermap.org/current) for more information about available options (as of 2021-05-17).
Syntax
=OPENWEATHER.CURRENT(Lat, Lon, [Options], [ResponseTarget])
Arguments
| Name | Type | Description |
|---|---|---|
| Lat | Number | Latitude value of geographical coordinates |
| Lon | Number | Longitude value of geographical coordinates |
| Options (optional) | JSON | JSON containing parameters like mode, units or lang |
| ResponseTarget (optional) | Target | Specify inbox, outbox, cell or cell-range to write any response to |
Return
| Type | Description |
|---|---|
| Boolean,Result,Error | Request result if no target is specified or TRUE. In case of an error the corresponding error-code is returned. |
Examples
| Formula | Result | Comment | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Specify location by providing corresponding geographical coordinates and set measurement units to metric
|