Table of Contents

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

data JToken

The JSON token that contains the daily forecast.

Properties

Clouds

Gets the cloud coverage percentage.

public double? Clouds { get; }

Property Value

double?

DT

Gets the forecast timestamp converted to local time.

public DateTime? DT { get; }

Property Value

DateTime?

DewPoint

Gets the dew point temperature.

public double? DewPoint { get; }

Property Value

double?

FeelsLike

Gets the day-parted feels-like temperatures.

public FeelsLike? FeelsLike { get; }

Property Value

FeelsLike

Humidity

Gets the relative humidity percentage.

public double? Humidity { get; }

Property Value

double?

MoonPhase

Moon phase

public string? MoonPhase { get; }

Property Value

string

Moonrise

Gets the moonrise time for the forecast day.

public DateTime? Moonrise { get; }

Property Value

DateTime?

Moonset

Gets the moonset time for the forecast day.

public DateTime? Moonset { get; }

Property Value

DateTime?

PrecipitationProbability

Probability of precipitation in percents. The values of the parameter vary between 0 and 100

public double? PrecipitationProbability { get; }

Property Value

double?

Pressure

Gets the sea-level atmospheric pressure in hPa.

public double? Pressure { get; }

Property Value

double?

Rain

Gets the total rainfall in millimeters.

public double? Rain { get; }

Property Value

double?

Snow

Gets the total snowfall in millimeters.

public double? Snow { get; }

Property Value

double?

Sunrise

Gets the sunrise time for the forecast day.

public DateTime? Sunrise { get; }

Property Value

DateTime?

Sunset

Gets the sunset time for the forecast day.

public DateTime? Sunset { get; }

Property Value

DateTime?

Temperature

Gets the day-parted temperatures.

public Temperature? Temperature { get; }

Property Value

Temperature

Uvi

Gets the UV index.

public double? Uvi { get; }

Property Value

double?

Weather

Gets the descriptive weather information.

public Weather? Weather { get; }

Property Value

Weather

WindDegree

Wind direction, degrees (meteorological)

public double? WindDegree { get; }

Property Value

double?

WindDirectionLong

Long wind direction represented by a string (North, East, South, West, etc.)

public string? WindDirectionLong { get; }

Property Value

string

WindDirectionShort

Short wind direction represented by a string (N, E, S, W, etc.)

public string? WindDirectionShort { get; }

Property Value

string

WindGust

Wind gust. Default Unit: meter/sec

public double? WindGust { get; }

Property Value

double?

WindSpeed

Wind speed. Default Unit: meter/sec

public double? WindSpeed { get; }

Property Value

double?