A simple Elixir wrapper around Forecast.io with a small demo.
-
In
mix.exs
set you API key fromdeveloper.forecast.io
. -
Start the sample app with
iex -S mix
. -
Query Forecast.io
- Get the hourly forecast with
Weather.Reporter.get_hourly_forecast(latitude, longitude [, time])
- Get the daily forecast with
Weather.Reporter.get_daily_forecast(latitude, longitude [, time])