Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```