Skip to content

Adib23704/Telegram-Bot-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Weater Bot (Python)

This is a Telegram bot that allows users to get the current temperature for a specified location. The bot supports displaying the temperature in both Celsius and Fahrenheit scales, with an inline button to toggle between the two scales.

Running the application

  1. Ensure you have Python.
  2. Install the dependencies using pip install -r requirements.txt.
  3. Obtain Telegram Bot API key. Click Here.
  4. Obtain Weather API Key from https://weatherapi.com.
  5. Rename .env.example to .env and put the obtained values there.
  6. Run the script using py app.py and message /start or use the button on your bot.

DEMO: @AdibPythonTest_bot

Contributing

Feel free to fork the repository and contribute improvements or additional features.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages