A ruby wrapper for forecast.io API
Add this line to your application's Gemfile:
gem 'forecast_io'
And then execute:
$ bundle
Or install it yourself as:
$ gem install forecast_io
ForecastIO.configure do |c|
c.api_key = api_key
end
ForecastIO::Forecast.new.coordinates(latitude: 35, longitude: 139)
- Fork it ( https://github.com/vigosan/forecast_io/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request