open-weather-map

A gem wrapper for the OpenWeatherMap API.

Installation

Add this line to your application's Gemfile:

gem 'open_weather_map'

And then execute:

$ bundle

Or install it yourself as:

$ gem install open_weather_map

Usage

Quick Start:

OpenWeatherMap.city("London").forecast OpenWeatherMap.city_id(524901).forecast OpenWeatherMap.geolocate(lat: 45.321, lng: 34201).forecast OpenWeatherMap.geolocate(ObjectThatRespondsToLatAndLngMethods).forecast

Contributing

  1. Fork it ( https://github.com/pdebelak/open-weather-map/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request