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
Constructors
Daily(JToken?)
Initializes a new instance of the Daily class from JSON data.
public Daily(JToken? data)
Parameters
dataJTokenThe JSON token that contains the daily forecast.
Properties
Clouds
Gets the cloud coverage percentage.
public double? Clouds { get; }
Property Value
DT
Gets the forecast timestamp converted to local time.
public DateTime? DT { get; }
Property Value
DewPoint
Gets the dew point temperature.
public double? DewPoint { get; }
Property Value
FeelsLike
Gets the day-parted feels-like temperatures.
public FeelsLike? FeelsLike { get; }
Property Value
Humidity
Gets the relative humidity percentage.
public double? Humidity { get; }
Property Value
MoonPhase
Moon phase
public string? MoonPhase { get; }
Property Value
Moonrise
Gets the moonrise time for the forecast day.
public DateTime? Moonrise { get; }
Property Value
Moonset
Gets the moonset time for the forecast day.
public DateTime? Moonset { get; }
Property Value
PrecipitationProbability
Probability of precipitation in percents. The values of the parameter vary between 0 and 100
public double? PrecipitationProbability { get; }
Property Value
Pressure
Gets the sea-level atmospheric pressure in hPa.
public double? Pressure { get; }
Property Value
Rain
Gets the total rainfall in millimeters.
public double? Rain { get; }
Property Value
Snow
Gets the total snowfall in millimeters.
public double? Snow { get; }
Property Value
Sunrise
Gets the sunrise time for the forecast day.
public DateTime? Sunrise { get; }
Property Value
Sunset
Gets the sunset time for the forecast day.
public DateTime? Sunset { get; }
Property Value
Temperature
Gets the day-parted temperatures.
public Temperature? Temperature { get; }
Property Value
Uvi
Gets the UV index.
public double? Uvi { get; }
Property Value
Weather
Gets the descriptive weather information.
public Weather? Weather { get; }
Property Value
WindDegree
Wind direction, degrees (meteorological)
public double? WindDegree { get; }
Property Value
WindDirectionLong
Long wind direction represented by a string (North, East, South, West, etc.)
public string? WindDirectionLong { get; }
Property Value
WindDirectionShort
Short wind direction represented by a string (N, E, S, W, etc.)
public string? WindDirectionShort { get; }
Property Value
WindGust
Wind gust. Default Unit: meter/sec
public double? WindGust { get; }
Property Value
WindSpeed
Wind speed. Default Unit: meter/sec
public double? WindSpeed { get; }