Welcome to Weather Clothing Suggestions! This Flask-based web application provides personalized clothing recommendations based on current weather conditions. Whether it's sunny, rainy, or cloudy, stay stylish and comfortable with tailored suggestions. Experience dynamic visualizations and responsive design for a seamless user experience.
-
Personalized Clothing Recommendations: Receive customized suggestions based on the current weather conditions, ensuring both style and comfort.
-
Dynamic Visualizations: Experience dynamic weather animations and visualizations that bring the forecast to life.
-
Responsive Design: Enjoy a seamless user experience across devices with responsive design and intuitive navigation.
To install and run Weather Clothing Suggestions locally on your machine, follow these steps:
- Clone the Repository:
git clone <https://github.com/tauseef6969/Weather-Clothing-Suggestions>
- Install Dependencies:
pip install -r requirements.txt
- Start the Application:
python app.py
- Access the Application: Open a web browser and navigate to http://localhost:5000 to access Weather Clothing Suggestions.
The OpenWeatherMap API provides access to weather data for any location worldwide. By integrating this API into your Weather Clothing Suggestions project, you can fetch real-time weather information and provide personalized clothing recommendations based on current weather conditions.
Sign Up for OpenWeatherMap API: Create a free account on the OpenWeatherMap website and obtain an API key.
Install Requests Library: Ensure you have the requests library installed in your Python environment to make HTTP requests to the API.
Make API Requests: Use the obtained API key to make GET requests to the OpenWeatherMap API endpoints, specifying the city for which you want to fetch weather data.
Parse API Response: Parse the JSON response received from the API to extract relevant weather information such as temperature, humidity, wind speed, and weather condition.
Display Weather Information: Display the extracted weather information on your web application's interface using HTML and CSS.
-
Enter the City: Type the name of the city for which you want to receive clothing suggestions inthe provided input field.
-
Get Weather: Click the "Get Weather" button to fetch the current weather data for theentered city and receive personalized clothing recommendations.
Contributions are welcome and encouraged! If you would like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature.
- Commit your changes.
- Push to the branch.
- Create a new Pull Request and describe your changes in detail.