Is it picnic weather? Let's find out ☀️
- GitHub: Cazbella
- Email: cazbella@myyahoo.co.uk
Picnic Weather is a Python application that utilises the OpenWeatherMap API to fetch weather data based on user input. Users can enter their location (city name or postal code) to retrieve current weather conditions, including temperature, wind speed, and weather description. The app then determines if the weather is suitable for a picnic based on predefined criteria. Additionally, users have the option to request picnic spot suggestions using the TomTom API. This project serves as a demonstration of integrating multiple APIs to provide a practical solution for weather forecasting and outdoor activity planning.
To install Picnic Weather:
- Clone the repository to your local machine:
git clone [repository_url]
- Navigate to the project directory:
cd Picnic-Weather
- Install dependencies by following the instructions in the pip documentation.
To use Picnic Weather:
- Obtain API keys for OpenWeatherMap and TomTom APIs from their respective websites.
- Store the API keys in a
.gitignore
file in the root directory of the project. - Run the application.
- Enter your location (town name and country) when prompted.
- View the weather forecast and point of interest suggestions (if applicable) provided by the app.
Example inputs include:
- Blackpool, UK
- Bude, UK
- Lexington, USA
- Cardiff, Wales
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature:
git checkout -b feature-name
. - Make your changes and commit them:
git commit -am 'Add new feature'
. - Push to the branch:
git push origin feature-name
. - Create a new pull request.
If you have any questions or issues, please feel free to reach out via GitHub or email.