An open API service indexing awesome lists of open source software.

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.

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.