This is a Flask-based web application for weather forecasting. It uses web scraping to gather weather data from the BBC Weather website. Users can enter a city name, and the application will display the weather forecast for that city.
- Flask web framework
- Weather data scraping from BBC Weather
- Displays high and low temperatures, and daily summary
To set up this project, follow these steps:
- Clone the repository: git clone http://github.com/syamkarni/Weather_application-BBC_api-)http://github.com/syamkarni/Weather_application-BBC_api
- Install the required packages: pip install flask requests beautifulsoup4 pandas
Run the application: python app.py
Navigate to http://localhost:5000
in your web browser. Enter the name of the city you want to check the weather for.
- Flask
- Requests
- BeautifulSoup4
- Pandas
This project is for educational purposes only. The scraping functionality depends on the structure of the BBC Weather website and may require updates if the website's layout changes.