Skip to content

aquinofb/open_weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Weather

CircleCI codebeat badge Code Climate Issue Count Test Coverage

App that consumes the API from Open Weather Map and show 16 days forecast.

Configuration

Get your Open Weather's API Key on this link and export an environment var called OPENWEATHER_KEY.

$ export OPENWEATHER_KEY=YOUR_API_KEY
$ bundle install
$ rails s

API

GET /forecasts(.format)

filter: {
  city: String # Name of the city
}

GET /forecasts_daily/:id(.format)

{
  id: Int, # ID(dt) from forecast_daily
  city: String # Name of the city
}

Tests

The app uses RSpec to run the automated tests. Run the following command:

rake spec

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published