Compare commits

...

2 commits

Author SHA1 Message Date
Winni Neessen 92d4fc19be
Merge branch 'main' into cloud-coverage 2023-08-02 16:13:50 +02:00
Winni Neessen ca7fecccfc
Add CloudCoverage to APICurrentWeatherData struct
This update adds a new field `CloudCoverage` to the `APICurrentWeatherData` struct. This field represents the current effective cloud coverage in %, taking into account the priority of low clouds over high clouds. This additional detail will enhance the accuracy of the current weather data provided.
2023-06-28 15:54:34 +02:00

View file

@ -30,6 +30,9 @@ type CurrentWeather struct {
// all values are represented as pointer type returning nil if the data point in question
// is not returned for the requested Station.
type APICurrentWeatherData struct {
// CloudCoverage represents the current effective cloud coverage
// in % (e.g. low clouds have more priority than high clouds)
CloudCoverage *APIFloat `json:"cloudCoverage,omitempty"`
// Dewpoint represents the dewpoint in °C
Dewpoint *APIFloat `json:"dewpoint,omitempty"`
// HumidityRelative represents the relative humidity in percent