Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/katorres02/open_weather_client_ruby
Ruby client for open_weather api
https://github.com/katorres02/open_weather_client_ruby
Last synced: 16 days 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 (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-27T21:12:48.000Z (about 8 years ago)
- Last Synced: 2024-11-11T17:22:56.153Z (about 1 month 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
```