Ruby Weatherbug Partner API Wrapper
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec/examples
.gitignore
LICENSE
README.md
Rakefile
weatherbug.gemspec

README.md

WeatherBug Partner API

To get set up:

gem install weatherbug

This is a Ruby interface for the Weatherbug Partner API. It does not cover the entire API, but covers basic functionality.

stations = WeatherBug::nearest_stations(:zip_code => '10012')
station = WeatherBug::closest_station(:zip_code => '08005')
station = WeatherBug::get_station(station_id)
stations = WeatherBug::stations_in_box(tr_lat, tr_lng, bl_lat, bl_lng)

Get links for WeatherBug pages for a given zip code

links = WeatherBug::get_links('home', :zip_code => '08005')

You can do some cool things with stations:

station.live_observation
station.forecast

TODO

  • Expand the README to actually be useful
  • Add more functionality
  • Make RDOC friendly

Author

  • John Crepezzi (@seejohnrun)

LICENSE

(MIT License. See LICENSE)