shoaibi / yahoo-weather

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Requirement

  • A catalog of cities is provided with coordinates
  • Get a new set of coordinates
  • Use Yahoo weather API to get weather for provided list of cities
  • Compute distance between user entered coordinates and cities
  • Show a grid of cities, sorted by temperature variation

How to run the application?

  • Run composer update
  • Run composer dump-autoload -o (it would save a little time during requests)
  • Ensure "cache" exists in the under app directory and is writable by the user that would run the application
  • Visit the index.php inside your browser

Dependencies

Few Missing things:

  • String validation
  • Unit testing
  • Using a cache system that supports namespaces

About


Languages

Language:PHP 84.0%Language:HTML 16.0%