Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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.