Skip to content

Latest commit

 

History

History
84 lines (57 loc) · 3.06 KB

readme.md

File metadata and controls

84 lines (57 loc) · 3.06 KB

Weather Clothing Suggestions

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.


Table of Contents


Features

  • 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.


Installation

To install and run Weather Clothing Suggestions locally on your machine, follow these steps:

  1. Clone the Repository:
    git clone <https://github.com/tauseef6969/Weather-Clothing-Suggestions>
  2. Install Dependencies:
    pip install -r requirements.txt
  3. Start the Application:
    python app.py
  4. Access the Application: Open a web browser and navigate to http://localhost:5000 to access Weather Clothing Suggestions.

Using OpenWeatherMap API

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.

Steps to Integrate OpenWeatherMap API:

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.


Usage

  1. Enter the City: Type the name of the city for which you want to receive clothing suggestions inthe provided input field.

  2. Get Weather: Click the "Get Weather" button to fetch the current weather data for theentered city and receive personalized clothing recommendations.


Contributing

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.