/picnic-weather

Is it picnic weather? Let's find out ☀️

Primary LanguagePythonMIT LicenseMIT

Picnic Weather

Is it picnic weather? Let's find out ☀️

License: MIT

Contact Information

Table of Contents

Description

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.

Installation

To install Picnic Weather:

  1. Clone the repository to your local machine: git clone [repository_url]
  2. Navigate to the project directory: cd Picnic-Weather
  3. Install dependencies by following the instructions in the pip documentation.

Usage

To use Picnic Weather:

  1. Obtain API keys for OpenWeatherMap and TomTom APIs from their respective websites.
  2. Store the API keys in a .gitignore file in the root directory of the project.
  3. Run the application.
  4. Enter your location (town name and country) when prompted.
  5. 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

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature: git checkout -b feature-name.
  3. Make your changes and commit them: git commit -am 'Add new feature'.
  4. Push to the branch: git push origin feature-name.
  5. Create a new pull request.

Questions

If you have any questions or issues, please feel free to reach out via GitHub or email.