ExOwm v1.1.1 ExOwm.FiveDayForecast.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 wether 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_five_day_forecast(location, opts) View Source
get_five_day_forecast(map(), [{:key, atom()}]) :: map()

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