Weather Fetcher is a Python project that allows users to fetch real-time weather information along with the date and time for a given city. It utilizes two powerful APIs, OpenWeather and API Ninjas' World Time API, to provide users with accurate and up-to-date data.
-
City-based Weather Data: Simply enter the name of the city you want to know about, and Weather Fetcher will retrieve and display the current weather conditions.
-
Date and Time: In addition to weather information, the program also provides the date and time for the specified city, making it a handy tool for travelers and weather enthusiasts.
To get started with Weather Fetcher, follow these steps:
- Clone this repository to your local machine.
- Install the required dependencies (pip install requests)
- Run the program by executing
python weather_fetcher.py
. - Enter the name of the city when prompted, and watch as it fetches and displays the data.
- OpenWeather: For weather data.
- API Ninjas' World Time API: For date and time information.
If you'd like to contribute to Weather Fetcher, feel free to open an issue or submit a pull request. We welcome contributions from the community!
- Thanks to OpenWeather and API Ninjas for providing the APIs used in this project.
- Special thanks to the Python community for creating and maintaining helpful libraries and tools.