Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sinha532/weather-report-api-with-dynamic-background-video
This project is a Flask API that fetches weather data from OpenWeatherMap and displays it on a web page with a dynamic background video that changes according to the weather condition.
https://github.com/sinha532/weather-report-api-with-dynamic-background-video
Last synced: 2 months ago
JSON representation
This project is a Flask API that fetches weather data from OpenWeatherMap and displays it on a web page with a dynamic background video that changes according to the weather condition.
- Host: GitHub
- URL: https://github.com/sinha532/weather-report-api-with-dynamic-background-video
- Owner: Sinha532
- Created: 2024-06-04T08:02:18.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-04T08:28:07.000Z (8 months ago)
- Last Synced: 2024-06-04T09:35:45.160Z (8 months ago)
- Language: Python
- Homepage:
- Size: 44.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weather Report API with Dynamic Background Video
This project is a Flask API that fetches weather data from OpenWeatherMap and displays it on a web page with a dynamic background video that changes according to the weather condition.
# Features
Weather Search: Users can search for weather conditions by city name.Dynamic Background Video: The background video changes based on the weather condition, providing a visually engaging experience.
Weather Data: The API fetches weather data from OpenWeatherMap, including temperature, feels like temperature, and weather condition.
# Technical Details
Flask API: The project uses Flask to create a RESTful API that handles HTTP requests and responses.OpenWeatherMap API: The project uses the OpenWeatherMap API to fetch weather data.
HTML Templates: The project uses HTML templates to render the weather data and dynamic background video on the web page.
# How to Run
Clone the repository.Install the required dependencies using pip: pip install flask requests.
Set the OpenWeatherMap API key in the WEATHER_API_KEY variable.
Run the Flask API using python app.py.
Open a web browser and navigate to http://localhost:5000/ to use the weather report API.