Skip to content

Telegram bot that allows you to view the weather anywhere in the world (@likeWeatherBot)

License

Notifications You must be signed in to change notification settings

lleballex/like-weather-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ likeWeatherBot

Telegram bot that gives access to the weather of any city from any country. The data can be viewed 5 days in advance. In the bot there is a setting of the displayed units of measurement, everything can be customized for yourself. Start bot

Tools:

  • 💪 Aiogram
  • 😄 Peewee
  • 🤹🏽 PyOWM

🔥 Getting started

Installing

For windows
git clone https://github.com/lleballex/like-weather-bot.git
cd like-weather-bot
python -m venv env
env\scripts\activate
pip install -r requirements.txt
cd src

# First write the data to .env (more details below)

python bot.py migrate
For linux
git clone https://github.com/lleballex/like-weather-bot.git
cd like-weather-bot
python3 -m venv env
. env/bin/activate
pip install -r requirements.txt
cd src

# First write the data to .env (more details below)

python bot.py migrate

like-weather-bot/.env

BOT_TOKEN=bot api token (@BotFather)
OWM_TOKEN=owm api token (openweathermap.org)

Starting

python bot.py

🙋🏽‍♂️ Contact me