Unit Legend Schema
Unit types for each measurement in the response.
Example
{ "temp": "celsius", "feels_like": "celsius", "dew": "celsius", "wind_speed": "kilometers_per_hour", "wind_gust": "kilometers_per_hour", "pressure": "kilopascals", "vis": "kilometers", "rain": "millimeters", "snow": "centimeters" }
Attributes
-
temp
stringUnit type for all temperature values returned by the API
Allowed values:celsiusfahrenheit
Example:
celsius -
feels_like
stringUnit type for all apparent temperature values returned by the API
Allowed values:celsiusfahrenheit
Example:
celsius -
dew
stringUnit type for all dew point values returned by the API
Allowed values:celsiusfahrenheit
Example:
celsius -
wind_speed
stringUnit type for all wind speeds returned by the API
Allowed values:kilometers_per_hourmiles_per_hour
Example:
kilometers_per_hour -
wind_gust
stringUnit type for all wind gusts returned by the API
Allowed values:kilometers_per_hourmiles_per_hour
Example:
kilometers_per_hour -
pressure
stringUnit type for all atmospheric pressure values returned by the API
Allowed values:kilopascalsinches_of_mercury
Example:
kilopascals -
vis
stringUnit type for all visibility distances returned by the API
Allowed values:kilometersmiles
Example:
kilometers -
rain
stringUnit type for all rainfall amounts returned by the API
Allowed values:millimetersinches
Example:
millimeters -
snow
stringUnit type for all snowfall amounts returned by the API
Allowed values:centimetersinches
Example:
centimeters