Entries Tagged 'rweather' ↓

RWeather: Check your local weather using ruby

Well, I have to say that the main motivation to write this gem was just to write a gem. I’ve never done it before. That being said, here’s rweather with you.

What does it do ?

It’s a ruby wrapper for the Weather XML Data Feed from weather.com.

It currently has two features, searching locations to get their location_id and getting the weather current conditions for a given location.

Getting the code and Installing

The rweather code is of course available at github and is released with a MIT license.

To install it just do the usual:
sudo gem install ckozus-rweather --source http://gems.github.com

How to Use It

This is a simple script using rweather taken from the README. It gets a list of matching locations and shows the current temperature and what it feels like.