Amazing-Python-Scripts

Форк
0

README.md

Prerequisites for running the bot

  • Python 3.6 or higher
  • pip3
  • python-telegram-bot
  • requests

How to run the bot

  1. Clone the repository
  2. Open the terminal and navigate to the directory where the repository is cloned
  3. Run the following command to install the required packages
pip3 install -r requirements.txt
  1. Add your bot token in the main.py file
  2. Run the following command to run the bot
python3 main.py
  1. Open Telegram and search for the bot with the username you have given.
  2. Start the bot and send the location to get the weather forecast

How to use the bot

  1. Send the location to the bot
  2. The bot will send the weather forecast for the given city
  3. The bot will send the temperature, wind direction, wind speed, humidity,pressure, sunrise ,sunset time and day length

Developer

  • [Arvind Srivastav]

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.