WeatherApp
WeatherApp is a Java Command Line Application for checking weather forecast in any location of given day. App obtains forecasts from two weather APIs then response with averaged parameters values. It uses h2 data base to store active forecasts in order to reuse them without api calls.
APIs
Weather APIs using:
- OpenWeather API,
- Weatherbit API.
Usage
App runs with parameters below:
- --city, --c [location given by city name],
- --latitude, --lat [location given by latitude coordinate],
- --longitude, --lon [location given by longitude coordinate],
- --date, --d [forecast date in format yyyy-mm-dd] (optional),
Output
App responses with parameters below:
- forecast date,
- temperature (Celsius degree),
- pressure (hPa) date,
- humidity (%) date,
- wind speed (m/s),
- wind degree (degree).