- git clone https://github.com/CodeFellowsOrg/weather_api.git
- cd weather_api
- bundle install
- "sign up for free" for a Wunderground API key here: http://www.wunderground.com/weather/api/
- You'll get an email asking you to confirm your email address from Wunderground
- go back to /weather/api, and click on "explore my options" - purchase the free plan
- The key should be listed on the right of http://www.wunderground.com/weather/api/
- put the key into your shell with this command: export WUNDERAPI=sd123fjhkjeh234asd34 (your key)
- check that key is in your enviroment with this command: echo $WUNDERAPI
- ruby simple_wunder.rb
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.