Project

weatherbug

0.0
No commit activity in last 3 years
No release in over 3 years
Light Wrapper for the WeatherBug partner API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

 Project Readme

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)