ExOwm v1.2.3 ExOwm.HistoricalWeather.Worker View Source

Five Day Forecast Worker task implementation.

Link to this section Summary

Functions

Returns five day weather forecast for a specific location and given options. Checks whether request has been already cached, if not it sends the request to OWM API and caches it with specific TTL.

Link to this section Functions

Link to this function

get_historical_weather(location, opts)

View Source

Specs

get_historical_weather(map(), [{:key, atom()}]) :: map()

Returns five day weather forecast for a specific location and given options. Checks whether request has been already cached, if not it sends the request to OWM API and caches it with specific TTL.