Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 25 additions & 4 deletions docs/forecasts.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -55,6 +55,27 @@ interface ForecastRequest {
}
```

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
[Jump to finish](#3-hourly)

Expand Down