View Source Weather (Weather v0.2.4)

Gets and displays weather information.

API Key Needed

In order to use Weather, you'll need to create an account at OpenWeatherMap and get an API key for the One Call API 3.0 service.

The service allows for 1,000 free API calls per day.

Summary

Functions

Fetches weather from the OpenWeatherMap API.

Functions

Link to this function

get(opts \\ Weather.Opts.new())

View Source
@spec get(Weather.Opts.t()) :: {:ok, String.t()} | {:error, String.t()}

Fetches weather from the OpenWeatherMap API.