Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- GWeather.location_level_to_string(level)¶
- Parameters:
level (
GWeather.LocationLevel
) – aGWeather.LocationLevel
- Returns:
a string
- Return type:
Returns the location level as a string, useful for debugging purposes.
- GWeather.sky_to_string(sky)¶
- Parameters:
sky (
GWeather.Sky
) –- Return type:
- GWeather.sky_to_string_full(sky, options)¶
- Parameters:
sky (
GWeather.Sky
) –options (
GWeather.FormatOptions
) –
- Return type:
- GWeather.speed_unit_to_string(unit)¶
- Parameters:
unit (
GWeather.SpeedUnit
) – a speed unit, orGWeather.SpeedUnit.DEFAULT
- Return type:
Creates a human-readable, localized representation of unit
- GWeather.temperature_unit_to_real(unit)¶
- Parameters:
unit (
GWeather.TemperatureUnit
) – a tempeature unit, orGWeather.TemperatureUnit.DEFAULT
- Return type:
Resolve unit into a real temperature unit, potentially considering locale defaults.
- GWeather.wind_direction_to_string(wind)¶
- Parameters:
wind (
GWeather.WindDirection
) –- Return type:
- GWeather.wind_direction_to_string_full(wind, options)¶
- Parameters:
wind (
GWeather.WindDirection
) –options (
GWeather.FormatOptions
) –
- Return type: