Skip to content

Weather keeps you informed about conditions including temperature, rain, snow, and wind.

Notifications You must be signed in to change notification settings

mickfree/WeatherApp

Repository files navigation

Weather App

Introduction

The Weather App is a Java-based application that provides users with real-time weather information for a specified location. It fetches weather data from an external API and displays it in a graphical user interface (GUI). Users can enter a location, and the app retrieves and presents weather details, including temperature, weather condition, humidity, and wind speed. This documentation outlines the project's architecture, technologies used, and the functionality of each class within the application.

Technologies Used

The Weather App utilizes the following technologies and libraries:

  • Java 17.
  • JSON Simple: Used to parse and read through JSON data.
  • HTTPURLConnection: Java's built-in library for making HTTP requests to fetch data from external APIs.
  • Weather Forecast API: Seamless integration of high-resolution weather models with up 16 days forecast.
  • Geocoding API: Search locations globally in any language.

Class Description

3.1. AppLauncher

Description: The AppLauncher class serves as the entry point for the Weather App. It initializes the GUI and displays the main application window.

3.2. WeatherApp

Description: The WeatherApp class represents the graphical user interface (GUI) of the Weather App. It is responsible for displaying weather information for a specified location.

3.3. WeatherAppBack

Description: The WeatherAppBack class contains the backend logic for fetching weather data from an external API. It retrieves geographic coordinates for a location, fetches weather data for that location, and provides methods to convert weather codes.

About

Weather keeps you informed about conditions including temperature, rain, snow, and wind.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages