A simple application that prints weather conditions fetched from National Weather Service's Hourly Aviation Weather Observations. This is a project challenge from Programming Elixir.
The data are only retrievable in XML format so I had to learn how to parse XML using the Erlang XML libraries.
- Make sure you've got Erlang installed.
- Clone the repo:
git clone git@github.com:raderj89/weather_conditions.git
cd weather_conditions
- Run the app from the command line:
$ ./weather_conditions <location-code>
- e.g.:
$ ./weather_conditions kokc
- e.g.:
- Add more tests
- Add documentation
- Scrape all the codes and match them to their locations so that users don't have to memorize codes and can look up which location codes they're interested in.