Skip to content

This App prompts the user for a city name, and gives the user the current weather report of the particular location.

Notifications You must be signed in to change notification settings

Adarsh-619/Weather_Forecaster

Repository files navigation

Weather_Forecaster

  • Prompts the user to enter a city and shows the current weather details of that place.
  • The app makes use Geocoding API to get the latitude and location of the desired location and Current Weather Data API to fetch the detailed information of that location.
  • Implemented the GUI using JavaFX and used HttpURLConnection class to make API calls.

API

Two APIs are used in this project both of them are free to use. You have to generate your api key in the website and replace it in order to use the app.

Head to OpenWeatherMap, sign up and create your own api key. Following are the two APIs which have been used in this app:

  1. Current Weather Data
  2. Geocoding API

Working Screenshots

Alt Alt

Installation

  1. Clone the Repo
  2. Open the project in intellij IDEA
  3. Navigate to credentials/AccessData.java and insert your api key
  4. You can run build the project and execute the app,
  5. Moreover there is a packaged version of the app in the format of .exe in the folder, You can also build the artifacts and package your jar.
  6. Happy Learning 😎😉😃

About

This App prompts the user for a city name, and gives the user the current weather report of the particular location.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages