Sha256: 5b276b1158ad1a71bcbe23d0d78c91bad2cae34f3077faa2e079860c3d44216d
Contents?: true
Size: 875 Bytes
Versions: 4
Compression:
Stored size: 875 Bytes
Contents
# Weather Report A Ruby library and CLI to get Japanese Weather via Livedoor Weather Web Service(http://weather.livedoor.com/weather_hacks/webservice). ## Installation Add this line to your application's Gemfile: gem 'weather-report' And then execute: $ bundle Or install it yourself as: $ gem install weather-report ## Usage ```ruby require 'weather-report' id = WeatherReport::Weather.request_cityid("東京") weather = WeatherReport::Weather.new(id) weather.tomorrow.date # => <Date: 2013-05-04 ((2456417j,0s,0n),+0s,2299161j)> weather.tomorrow.telop # => "雨" weather.tomorrow.temperature_min # => 12 ``` ## 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
weather-report-0.3.1 | README.md |
weather-report-0.3.0 | README.md |
weather-report-0.2.1 | README.md |
weather-report-0.2.0 | README.md |