/WeatherProphet

App that pulls data from OpenWeather API to display current conditions and forecasts.

Primary LanguageC#MIT LicenseMIT

Weather Prophet

Weather Prophet is a desktop application that allows users to check the current weather and the weather forecast for the next few days for a particular city.

Features

  • Check the current weather for a city
  • Check the weather forecast for the next few days for a city
  • View the temperature, weather conditions, and an icon for each forecast
  • Customize the number of days to show in the forecast
  • Error handling for invalid inputs and API errors

Requirements

  • Windows 10 or later
  • .NET Core 3.1 or later

Installation

  1. Download the latest release of Weather Prophet from the releases page.
  2. Extract the downloaded ZIP file to a folder on your computer.
  3. Run the WeatherProphet.exe file.

Usage

  1. Enter the name of a city in the text box at the top of the window.
  2. Click the "Get Weather" button to retrieve the current weather and the weather forecast for the next few days for that city.
  3. View the current weather information and the weather forecast in the list box below.
  4. To customize the number of days to show in the forecast, use the "Days to show" drop-down menu at the top of the window.
  5. If an error occurs, such as an invalid city name or an API error, an error message will be displayed in the text box below.

Development

To build and run the project locally, follow these steps:

  1. Clone the repository to your local machine.
  2. Open the solution file (WeatherProphet.sln) in Visual Studio.
  3. Build the solution.
  4. Run the project.

Contributing

Contributions are welcome! To contribute to the project, follow these steps:

  1. Fork the repository.
  2. Create a new branch for your changes.
  3. Make your changes and commit them.
  4. Push your changes to your fork.
  5. Create a pull request to merge your changes into the main repository.

License

This project is licensed under the MIT License. See the LICENSE file for more information.