Table of Contents

Class Hourly

Namespace
SimpleWeather
Assembly
SimpleWeather.dll

Represents a single hourly forecast entry from the One Call API.

public class Hourly
Inheritance
Hourly
Inherited Members

Constructors

Hourly(JToken?)

Initializes a new instance of the Hourly class from JSON data.

public Hourly(JToken? data)

Parameters

data JToken

The JSON token that contains the hourly forecast.

Properties

Clouds

Cloudiness, %

public double? Clouds { get; }

Property Value

double?

DT

Time of the forecasted data, UTC

public DateTime? DT { get; }

Property Value

DateTime?

DewPoint

Atmospheric temperature (varying according to pressure and humidity) below which water droplets begin to condense and dew can form.

public double? DewPoint { get; }

Property Value

double?

FeelsLike

Temperature. This accounts for the human perception of weather.

public double? FeelsLike { get; }

Property Value

double?

Humidity

Humidity, %

public double? Humidity { get; }

Property Value

double?

PrecipitationProbability

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

public double? PrecipitationProbability { get; }

Property Value

double?

Pressure

Atmospheric pressure on the sea level, hPa

public double? Pressure { get; }

Property Value

double?

Rain

Gets the rainfall totals for the hour.

public Rain? Rain { get; }

Property Value

Rain

Snow

Gets the snowfall totals for the hour.

public Snow? Snow { get; }

Property Value

Snow

Temperature

Temperature

public double? Temperature { get; }

Property Value

double?

Uvi

UV index

public double? Uvi { get; }

Property Value

double?

Visibility

Visibility in meters.

public double? Visibility { 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?