wunderground v0.0.9 Wunderground.Forecast

Handles API requests for getting the forecast of a given place.

Link to this section Summary

Types

t()

The Wunderground.Forecast struct

Functions

Gets the forecast for the given tuple

Link to this section Types

Link to this type t()
t() :: %Wunderground.Forecast{simpleforecast: Wunderground.Forecast.SimpleForecast.t, txt_forecast: Wunderground.Forecast.TXTForecast.t}

The Wunderground.Forecast struct.

Example

%Wunderground.Forecast{
  simpleforecast: %Wunderground.Forecast.SimpleForecast{...},
  txt_forecast: %Wunderground.Forecast.TXTForecast{...}
}

Link to this section Functions

Link to this function get(query_args)
get(Wunderground.Query.t) ::
  {:ok, Wunderground.Forecast.t} |
  {:error, any}

Gets the forecast for the given tuple.

Isn’t really intended to be used directly. Use Wunderground.forecast/1 instead.