wunderground v0.0.6 Wunderground.Forecast.TXTForecast
Ensures correct JSON encoding.
Link to this section Summary
Types
The Wunderground.Forecast.TXTForecast struct consists of a date
, which holds a String
representation of a Time (eg 1:23 PM CEST
) and a forecastday
key,
holding a list of Wunderground.Forecast.TXTForecastDay
structs
Link to this section Types
Link to this type
t()
t() :: %Wunderground.Forecast.TXTForecast{date: String.t, forecastday: [Wunderground.Forecast.TXTForecastDay.t]}
The Wunderground.Forecast.TXTForecast struct consists of a date
, which holds a String
representation of a Time (eg 1:23 PM CEST
) and a forecastday
key,
holding a list of Wunderground.Forecast.TXTForecastDay
structs.
Example
%Wunderground.Forecast.TXTForecast{
date: "7:20 PM PDT",
forecastday: [
%Wunderground.Forecast.TXTForecastDay{},
%Wunderground.Forecast.TXTForecastDay{},
%Wunderground.Forecast.TXTForecastDay{}
]
}