View Source Weather (Weather v0.1.0)
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
@spec get(Weather.Opts.t()) :: {:ok, String.t()} | {:error, String.t()}
Fetches weather from the OpenWeatherMap API.