sunny/api/forecast/daily

Types

Variables that can be obtained at for a specific day (for the daily field)

See https://open-meteo.com/en/docs

pub type DailyVariable {
  MaximumTemperature2m
  MinimumTemperature2m
  ApparentTemperatureMax
  ApparentTemperatureMin
  PrecipitationSum
  RainSum
  ShowersSum
  SnowfallSum
  PrecipitationHours
  PrecipitationProbabilityMax
  PrecipitationProbabilityMin
  PrecipitationProbabilityMean
  WorstWeatherCode
  SunshineSuration
  DaylightDuration
  WindSpeed10mMax
  WindGusts10mMax
  WindDirection10mDominant
}

Constructors

  • MaximumTemperature2m
  • MinimumTemperature2m
  • ApparentTemperatureMax
  • ApparentTemperatureMin
  • PrecipitationSum
  • RainSum
  • ShowersSum
  • SnowfallSum
  • PrecipitationHours
  • PrecipitationProbabilityMax
  • PrecipitationProbabilityMin
  • PrecipitationProbabilityMean
  • WorstWeatherCode
  • SunshineSuration
  • DaylightDuration
  • WindSpeed10mMax
  • WindGusts10mMax
  • WindDirection10mDominant

Constants

pub const all: List(DailyVariable)

A list of all available daily variables.

Search Document