Project for passing exercise on studies
To build and then run application, you have to simply use given command in working directory:
./gradlew bootJar && java -jar build/libs/weather-apis-aggregator-0.0.1-SNAPSHOT.jar
help
http://localhost:8080/summary/city/<city>
http://localhost:8080/summary/city/Koszalin
http://localhost:8080/summary/location/lat/{lat}/lng/{lng}
http://localhost:8080/average/city/<city>
http://localhost:8080/average/city/Koszalin
http://localhost:8080/average/location/lat/{lat}/lng/{lng}
- For now, application is integrated with given weather apis: WeatherStack, OpenWeatherMap
- To integrate with another one, you have to implement WeatherService interface and register it as a bean.