https://github.com/katorres02/open_weather_client_ruby
Ruby client for open_weather api
https://github.com/katorres02/open_weather_client_ruby
Last synced: 4 months ago
JSON representation
Ruby client for open_weather api
- Host: GitHub
- URL: https://github.com/katorres02/open_weather_client_ruby
- Owner: katorres02
- Created: 2016-10-27T14:34:36.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-27T21:12:48.000Z (over 8 years ago)
- Last Synced: 2025-03-02T06:47:12.059Z (4 months ago)
- Language: Ruby
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# open_weather_client_ruby
## Still in progress
For now returns the current weather and the forecast 5 days info from Atlanta,US.
```ruby
require 'open_weather'
```Current weather:
```ruby
OpenWeather::Current.weather
```
Forecast:
```ruby
OpenWeather::Forecast.weathers
```Override City and Country by changing
```ruby
module OpenWeather
CITY = 'New City name'
COUNTRY = 'New Country (us, uk, co)'
end
```