Weather API to get metrics of weather forecast by city.
- Average of daily (06:00 – 18:00) and nightly (18:00 – 06:00) temperatures in Celsius for the configurable days (default is 3 days) from today’s date.
- Average of pressure for the configurable days (default is 3 days) from today’s date.
After cloning the project, Navigate to WeatherServiceApplication and run as Java Application.
http://localhost:8080/weather-service/data?city="city_name"
example: http://localhost:8080/weather-service/data?city=pune