Sha256: 8005a621ac5ca29136d301fc417b0f741b9ea6cfe8c7a953b6d1857fcfb092a6
Contents?: true
Size: 784 Bytes
Versions: 1
Compression:
Stored size: 784 Bytes
Contents
# Forecastr A simple gem for openweathermap.org API. ## Installation Add this line to your application's Gemfile: gem 'forecastr' And then execute: $ bundle Or install it yourself as: $ gem install forecastr ## Usage You can search for forecast by city: ```ruby london = Forecastr::Radar.find_by_city("London,UK") london.temperature.to_celsius # => 18 ``` Or, you can search for forecast by coordinates: ```ruby london = Forecastr::Radar.find_by_city(51.5072, 0.1275) london.temperature.to_celsius # => 18 ``` ## Contributing 1. Fork it 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 new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
forecastr-0.1.0 | README.md |