ExOwm v1.2.3 ExOwm.SixteenDayForecast.Worker View Source

Sixteen Day Forecast Worker task implementation.

Link to this section Summary

Functions

Returns sixteen 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_sixteen_day_forecast(location, opts)

View Source

Specs

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

Returns sixteen 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.