Simple PHP script that pulls the weather every X minutes and stores the values in a MySQL database
- Clone repository
- Add SQL/weather.sql to your MySQL database
- Configure config.php with your own connection database
- Sign-up for an API key at http://openweathermap.org/appid
- run php weather.php in your terminal
You can now also populate the table with historical weather from weather underground. Just open historical.php and modify your start and end date. Then from the terminal run php historial.php