OPENWEATHER.CURRENT
This is a premium feature.
Request current weather data for specified location. Please refer to https://openweathermap.org/current for more information about available options (as of 2021-05-17).
Syntax
=OPENWEATHER.CURRENT(APIKey, CityOrJSON, [ResponseTarget])
Arguments
Name | Description |
---|---|
APIKey | A unique API key to authorize against openweather service |
CityOrJSON | JSON containing required and optional parameters |
ResponseTarget (optional) | Specify inbox, outbox, cell or cell-range to write any response to |
Return
A unique random request ID which can be used with REQUESTINFO to check the state of the request. In case of an error the corresponding error-code is returned.
Examples
Formula | Result | Comment | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Request current weather data for specified city | |||||||||||||||||||
| Same as before but using JSON to specify city and additionally set measurement units to imperial
| |||||||||||||||||||
| Using a city-id to specify a location
| |||||||||||||||||||
| Specify location by providing corresponding geographical coordinates and set measurement units to metric
| |||||||||||||||||||
| Providing a geographical bounding-box and zoom level to specify a region
|