elixir cli weather app
If available in Hex, the package can be installed
by adding noaafeed
to your list of dependencies in mix.exs
:
def deps do
[
{:weatherlixir, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/noaafeed.
This relies on the free OpenWeatherMap API, you can get your own free key here and use the config/dev.secret.exs
file like so:
import Config
config :openweathermap,
api_key: "API_KEY_HERE"