Skip to content

The Weather-ExchangeRate-MailBot is a Python script designed to fetch and email weather reports and exchange rates to a specified mail account.

License

Notifications You must be signed in to change notification settings

gautam132002/weather-exchangerate-mailbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weather-exchangerate-mailbot

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.

Prerequisites

To use the Weather-ExchangeRate-MailBot, you need to have the following:

  1. Python installed on your system (version 3.x).
  2. Internet connectivity to fetch weather data and exchange rates.
  3. A valid email account to send the reports.
  4. OPENWEATHERMAP API KEY
  5. APILAYER API KEY

Installation

  1. Clone or download the Weather-ExchangeRate-MailBot repository to your local machine.

  2. Install the required dependencies by running the following command:

    pip install -r requirements.txt

Usage

  1. Open a terminal or command prompt.

  2. Navigate to the directory where the script is located.

  3. Run the following command to start the bot:

    python program.py
  4. Follow the prompts on the screen to enter the desired location for weather reports and select the exchange rates you want to receive.

  5. The bot will fetch the weather report and exchange rates and send them to the specified email account.

Customization

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.

Troubleshooting

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.

Disclaimer

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.

License

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.

About

The Weather-ExchangeRate-MailBot is a Python script designed to fetch and email weather reports and exchange rates to a specified mail account.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages