Skip to content

🔥My first Python bot — a simple Telegram weather bot that provides current weather info by city name.

Notifications You must be signed in to change notification settings

BlackFargo/WeatherBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Bot

Simple weather bot, enter a city, get the weather from open weather api

bot answer image

Setup

  1. Clone & Install
git clone https://github.com/BlackFargo/rankupggbot.git
pip install pyTelegramBotAPI python-dotenv
  1. Create a .env.local file with your API keys:
TELEGRAM_TOKEN=your_bot_api_key
WEATHER_API_KEY=your_open_weather_api_key
  1. Run
py main.py
  1. Start chatting with your bot on Telegram!

About

🔥My first Python bot — a simple Telegram weather bot that provides current weather info by city name.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published