Table of Contents

Class Main

Namespace
SimpleWeather
Assembly
SimpleWeather.dll

Represents the primary temperature- and pressure-related section of the weather payload.

public class Main
Inheritance
Main
Inherited Members

Constructors

Main(JToken?)

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

public Main(JToken? data)

Parameters

data JToken

The JSON token that contains the main weather metrics.

Properties

DewPoint

Dew point temperature in Celsius.

public double? DewPoint { get; }

Property Value

double?

FeelsLike

Temperature. This temperature parameter accounts for the human perception of weather. Default Unit: Celsius

public double? FeelsLike { get; }

Property Value

double?

GroundLevel

Atmospheric pressure on the ground level, hPa

public double? GroundLevel { get; }

Property Value

double?

Humidity

Humidity, %

public double? Humidity { get; }

Property Value

double?

Pressure

Atmospheric pressure (on the sea level, if there is no SeaLevel or GroundLevel data), hPa

public double? Pressure { get; }

Property Value

double?

SeaLevel

Atmospheric pressure on the sea level, hPa

public double? SeaLevel { get; }

Property Value

double?

Temperature

Temperature. Default Unit: Celsius

public double? Temperature { get; }

Property Value

double?

TemperatureMax

Maximum temperature at the moment. This is maximal currently observed temperature (within large megalopolises and urban areas). Default Unit: Celsius

public double? TemperatureMax { get; }

Property Value

double?

TemperatureMin

Minimum temperature at the moment. This is minimal currently observed temperature (within large megalopolises and urban areas). Default Unit: Celsius

public double? TemperatureMin { get; }

Property Value

double?