Skip to content

command line app written in Elixir that fetches weather conditions from weather.gov

Notifications You must be signed in to change notification settings

raderj89/weather_conditions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeatherConditions

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.

Use it

  • 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

TODO:

  1. Add more tests
  2. Add documentation
  3. 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.

About

command line app written in Elixir that fetches weather conditions from weather.gov

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages