Skip to content

RahulGIT24/Weather_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Telegram Bot using Python's Telebot

It is able to tell your city's weather

How to set it up locally ?

Clone the repository πŸ‘‡

https://github.com/RahulGIT24/Weather_Bot.git

Create your own telegram bot

  1. Sign Up or Sign In on telegram
  2. In telegram search for BotFather (Select Verified One)
  3. Type /start in the message box
  4. Now to create a new bot type /newbot in the message box
  5. Give your Bot a name
  6. Give it a user name
  7. The Token will appear. Copy this and save it a .env file
  8. Type /setprivacy
  9. Type the bot's username whose privacy you want to edit.
  10. Now type Disable in message box

Get Your API Key from here πŸ‘‡

https://rapidapi.com/apininjas/api/weather-by-api-ninjas

Copy this key in .env folder

Time to test this Bot 😎

  1. Search your Bot by it's username
  2. Type /start
  3. It ask you your city name
  4. Type your city name and press enter
  5. Results will be look like this

Thanks For Reading

Follow me on Socials πŸ‘‡

About

A telegram bot created usiing telebot. It helps to fetch weather.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages