Hourly

@Serializable
data class Hourly(val time: List<String>, val temps: List<Double>, val feelsLike: List<Double>, val weatherCode: List<Int>)

Ktor serializable class for the hourly weather data.

Contains the hourly weather information for the 15 days. 1 past day and 14 forecast days.

Constructors

Link copied to clipboard
constructor(time: List<String>, temps: List<Double>, feelsLike: List<Double>, weatherCode: List<Int>)

Properties

Link copied to clipboard
@SerialName(value = "apparent_temperature")
val feelsLike: List<Double>

The apparent temperature in Celsius.

Link copied to clipboard
@SerialName(value = "temperature_2m")
val temps: List<Double>

The temperature in Celsius.

Link copied to clipboard

The time of the weather data.

Link copied to clipboard
@SerialName(value = "weather_code")
val weatherCode: List<Int>

The weather condition code.