Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Ruby client for the US National Weather Service data?

The only US weather data that is available free for commercial use is the US National Weather Service. I'd like to use it. Is there a Ruby/Rails library for accessing it?

Perl would also be helpful. They provide a Perl example. I'd use it as a guide for writing the Ruby version.

like image 384
Larry K Avatar asked Jan 01 '10 20:01

Larry K


1 Answers

The NWS provides a RESTful web service in addition to the SOAP service, but if your needs are simple, consider the outoftime-noaa gem on github. It provides a straightforward interface for obtaining forecast and current conditions data.

(Be warned that one of its dependencies is not yet compatible with Ruby 1.9.)

like image 182
cobra libre Avatar answered Sep 22 '22 01:09

cobra libre