A Command-Line Interface (CLI) application that provides weather information. With WeatherApp, you can fetch the current weather, get a 5-day forecast, and manage a list of favorite cities for quick weather checks.
- Current Weather: Retrieve the latest weather information by ZIP code.
- 5-Day Forecast: Get an extended weather forecast for any location.
- Favorite Cities: Save and manage a list of favorite cities for quick weather updates.
- Temperature Units: Supports temperature display in Celsius and Fahrenheit.
To use WeatherApp, ensure you have the following:
- Python 3.8+ installed on your system.
- An API key from OpenWeatherMap.
- Sign up and generate a free API key to fetch weather data.
-
Clone the repository:
git clone https://github.com/Sacarianos/weatherApp cd weatherApp -
Install dependencies: bash Copy code pip install -r requirements.txt
-
Set up your API key:
Add your OpenWeatherMap API key to a .env file in the project directory: makefile Copy code api_key=your_api_key_here