From 4205403457cf1a81cb0e98505f3a6a5de9ad0b32 Mon Sep 17 00:00:00 2001 From: L Date: Sat, 25 Nov 2023 04:29:14 +1000 Subject: [PATCH 1/2] add in possibilities for icon_descriptor values --- docs/forecasts.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/forecasts.md b/docs/forecasts.md index 969035f..14f934c 100644 --- a/docs/forecasts.md +++ b/docs/forecasts.md @@ -55,6 +55,26 @@ interface ForecastRequest { } ``` +Values for icon_descriptor include, but are not limited to: +- 'clear': Clear sky, typically indicating no clouds. +- 'sunny': Bright and sunny conditions. +- 'mostly_sunny': Predominantly sunny with some clouds. +- 'partly_cloudy': A mix of sun and clouds. +- 'cloudy': Overcast or cloudy skies. +- 'rain': Rainy conditions. +- 'shower': Intermittent or light rain showers. +- 'light_rain': Light rainfall. +- 'heavy_shower': Heavy rain showers. +- 'storm': Stormy conditions, possibly with thunder. +- 'cyclone': Cyclonic conditions or hurricanes. +- 'windy': Strong winds. +- 'hazy': Haze conditions, typically indicating reduced visibility. +- 'fog': Foggy conditions, indicating very low visibility. +- 'dusty': Dusty weather conditions. +- 'frost': Frosty conditions, often with ice formation. +- 'snow': Snowy conditions. + + ### Example output [Jump to finish](#3-hourly) From d69d49286d41df9a122428929203c0ec66e6903b Mon Sep 17 00:00:00 2001 From: luen Date: Wed, 19 Mar 2025 10:47:25 +1000 Subject: [PATCH 2/2] Fix markdown error --- docs/forecasts.md | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/docs/forecasts.md b/docs/forecasts.md index 14f934c..b803bc8 100644 --- a/docs/forecasts.md +++ b/docs/forecasts.md @@ -28,10 +28,10 @@ interface ForecastItem { } now?: { is_night: boolean - now_label: string - later_label: string - temp_now: number - temp_later: number + now_label: string + later_label: string + temp_now: number + temp_later: number } date: string @@ -55,24 +55,25 @@ interface ForecastRequest { } ``` -Values for icon_descriptor include, but are not limited to: -- 'clear': Clear sky, typically indicating no clouds. -- 'sunny': Bright and sunny conditions. -- 'mostly_sunny': Predominantly sunny with some clouds. -- 'partly_cloudy': A mix of sun and clouds. -- 'cloudy': Overcast or cloudy skies. -- 'rain': Rainy conditions. -- 'shower': Intermittent or light rain showers. -- 'light_rain': Light rainfall. -- 'heavy_shower': Heavy rain showers. -- 'storm': Stormy conditions, possibly with thunder. -- 'cyclone': Cyclonic conditions or hurricanes. -- 'windy': Strong winds. -- 'hazy': Haze conditions, typically indicating reduced visibility. -- 'fog': Foggy conditions, indicating very low visibility. -- 'dusty': Dusty weather conditions. -- 'frost': Frosty conditions, often with ice formation. -- 'snow': Snowy conditions. +The `icon_descriptor` field can have these values: + +`clear` (Clear sky, typically indicating no clouds), +`sunny` (Bright and sunny conditions), +`mostly_sunny` (Predominantly sunny with some clouds), +`partly_cloudy` (A mix of sun and clouds), +`cloudy` (Overcast or cloudy skies), +`rain` (Rainy conditions), +`shower` (Intermittent or light rain showers), +`light_rain` (Light rainfall), +`heavy_shower` (Heavy rain showers), +`storm` (Stormy conditions, possibly with thunder), +`cyclone` (Cyclonic conditions or hurricanes), +`windy` (Strong winds), +`hazy` (Haze conditions, typically indicating reduced visibility), +`fog` (Foggy conditions, indicating very low visibility), +`dusty` (Dusty weather conditions), +`frost` (Frosty conditions, often with ice formation), +`snow` (Snowy conditions). ### Example output