The Weather-ExchangeRate-MailBot is a Python script designed to fetch and email weather reports and exchange rates to a specified mail account. This bot automates the process of retrieving weather information for a particular area and obtaining current exchange rates.
To use the Weather-ExchangeRate-MailBot, you need to have the following:
- Python installed on your system (version 3.x).
- Internet connectivity to fetch weather data and exchange rates.
- A valid email account to send the reports.
- OPENWEATHERMAP API KEY
- APILAYER API KEY
-
Clone or download the Weather-ExchangeRate-MailBot repository to your local machine.
-
Install the required dependencies by running the following command:
pip install -r requirements.txt
-
Open a terminal or command prompt.
-
Navigate to the directory where the script is located.
-
Run the following command to start the bot:
python program.py
-
Follow the prompts on the screen to enter the desired location for weather reports and select the exchange rates you want to receive.
-
The bot will fetch the weather report and exchange rates and send them to the specified email account.
You can customize the Weather-ExchangeRate-MailBot according to your needs. Some possible customizations include:
- Adding additional functionalities, such as fetching news headlines or stock prices, by extending the script.
- Adjusting the frequency of emails by setting up a cron job or scheduling the script to run at specific intervals.
If you encounter any issues while running the Weather-ExchangeRate-MailBot or have any questions or suggestions, please feel free to contact us or schedule a Google Meet to discuss further.
The Weather-ExchangeRate-MailBot is provided as-is without any warranty. The bot relies on external services for weather data and exchange rates, and any changes to those services may impact the functionality of the bot.
Use the bot responsibly and ensure that you comply with the terms and conditions of the weather and exchange rate data providers.
The Weather-ExchangeRate-MailBot is released under the MIT License. Feel free to modify and distribute the script according to the terms of the license.