Class Daily
- Namespace
- SimpleWeather
- Assembly
- SimpleWeather.dll
Represents a single day of forecast data from the One Call API.
public class Daily
- Inheritance
-
Daily
- Inherited Members
Properties
Clouds
Gets the cloud coverage percentage.
public double? Clouds { get; }
Property Value
- double?
The cloud coverage percentage.
DT
Gets the forecast timestamp converted to local time.
public DateTime? DT { get; }
Property Value
- DateTime?
The forecast timestamp converted to local time.
DewPoint
Gets the dew point temperature.
public double? DewPoint { get; }
Property Value
- double?
The dew point temperature.
FeelsLike
Gets the day-parted feels-like temperatures.
public FeelsLike? FeelsLike { get; }
Property Value
- FeelsLike
The day-parted feels-like temperatures.
Humidity
Gets the relative humidity percentage.
public double? Humidity { get; }
Property Value
- double?
The relative humidity percentage.
MoonPhase
Moon phase
public string? MoonPhase { get; }
Property Value
- string
Moon phase
Moonrise
Gets the moonrise time for the forecast day.
public DateTime? Moonrise { get; }
Property Value
- DateTime?
The moonrise time for the forecast day.
Moonset
Gets the moonset time for the forecast day.
public DateTime? Moonset { get; }
Property Value
- DateTime?
The moonset time for the forecast day.
PrecipitationProbability
Probability of precipitation in percents. The values of the parameter vary between 0 and 100
public double? PrecipitationProbability { get; }
Property Value
- double?
Probability of precipitation in percents. The values of the parameter vary between 0 and 100
Pressure
Gets the sea-level atmospheric pressure in hPa.
public double? Pressure { get; }
Property Value
- double?
The sea-level atmospheric pressure in hPa.
Rain
Gets the total rainfall in millimeters.
public double? Rain { get; }
Property Value
- double?
The total rainfall in millimeters.
Snow
Gets the total snowfall in millimeters.
public double? Snow { get; }
Property Value
- double?
The total snowfall in millimeters.
Sunrise
Gets the sunrise time for the forecast day.
public DateTime? Sunrise { get; }
Property Value
- DateTime?
The sunrise time for the forecast day.
Sunset
Gets the sunset time for the forecast day.
public DateTime? Sunset { get; }
Property Value
- DateTime?
The sunset time for the forecast day.
Temperature
Gets the day-parted temperatures.
public Temperature? Temperature { get; }
Property Value
- Temperature
The day-parted temperatures.
Uvi
Gets the UV index.
public double? Uvi { get; }
Property Value
- double?
The UV index.
Weather
Gets the descriptive weather information.
public Weather? Weather { get; }
Property Value
- Weather
The descriptive weather information.
WindDegree
Wind direction, degrees (meteorological)
public double? WindDegree { get; }
Property Value
- double?
Wind direction, degrees (meteorological)
WindDirectionLong
Long wind direction represented by a string (North, East, South, West, etc.)
public string? WindDirectionLong { get; }
Property Value
- string
Long wind direction represented by a string (North, East, South, West, etc.)
WindDirectionShort
Short wind direction represented by a string (N, E, S, W, etc.)
public string? WindDirectionShort { get; }
Property Value
- string
Short wind direction represented by a string (N, E, S, W, etc.)
WindGust
Wind gust. Default Unit: meter/sec
public double? WindGust { get; }
Property Value
- double?
Wind gust. Default Unit: meter/sec
WindSpeed
Wind speed. Default Unit: meter/sec
public double? WindSpeed { get; }
Property Value
- double?
Wind speed. Default Unit: meter/sec
Methods
FromJson(string?)
Creates this model from its OpenWeather JSON fragment.
public static Daily FromJson(string? json)
Parameters
jsonstringThe JSON fragment, or null for an empty model.
Returns
- Daily
The parsed weather model.