https://github.com/marvinraj/weather-fetcher
A Python project that fetches real-time weather information and displays the date and time for a specified city using OpenWeather and World Time API.
https://github.com/marvinraj/weather-fetcher
api openweatherapi python worldtimeapi
Last synced: about 1 year ago
JSON representation
A Python project that fetches real-time weather information and displays the date and time for a specified city using OpenWeather and World Time API.
- Host: GitHub
- URL: https://github.com/marvinraj/weather-fetcher
- Owner: marvinraj
- Created: 2023-09-24T04:40:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-24T05:23:14.000Z (over 2 years ago)
- Last Synced: 2023-09-25T17:02:23.458Z (over 2 years ago)
- Topics: api, openweatherapi, python, worldtimeapi
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weather Fetcher
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.
## Features
- **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.
## Getting Started
To get started with Weather Fetcher, follow these steps:
1. Clone this repository to your local machine.
2. Install the required dependencies (pip install requests)
3. Run the program by executing `python weather_fetcher.py`.
4. Enter the name of the city when prompted, and watch as it fetches and displays the data.
## APIs Used
- [OpenWeather](https://openweathermap.org/): For weather data.
- [API Ninjas' World Time API](https://apilayer.com/world-time-api/): For date and time information.
## Contributing
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!
## Acknowledgments
- Thanks to [OpenWeather](https://openweathermap.org/) and [API Ninjas](https://apilayer.com/) for providing the APIs used in this project.
- Special thanks to the Python community for creating and maintaining helpful libraries and tools.