This is a simple Python project that uses web scraping to get the weather information of any city from Google.
- Python 3.6 or higher
- BeautifulSoup 4
- Requests
- Run the WeatherService.ipynb file in a Jupyter Notebook or any other Python IDE.
- Enter the name of any city when prompted.
- The program will display the following information:
- Location
- Day and time
- Weather conditions
- Temperature
- Precipitation
- Humidity
- Wind
Here is an example of the output for the city of Alghero:
Searching…
- Alghero Giorno e Ora: Tuesday, 5 December 2023 15:37
- Condizioni Meteo: Sunny
- Temperatura: 16°C
- Precipitazioni: 0%
- Tasso di Umiditá: 63%
- Vento: 11 km/h
This project is licensed under the MIT License - see the [LICENSE] file for details.