Fetch weather forecast for cities in configured intervals from https://openweathermap.org/forecast5
- Java SE 1.8 or newer
- Maven
- API Key from Open Weather Map
To install clone this repo :
git clone git@github.com:tochix/weather-service.git
cd weather-service
- Insert you API Key here
- Be mindful of rate limiting, they have it at 60 calls per minute
- Don't set the polling frquency less than that
- Run the app using maven from your CLI
cd weather-service
./mvnw spring-boot:run