https://github.com/lleballex/like-weather-bot
Telegram bot that allows you to view the weather anywhere in the world (@likeWeatherBot)
https://github.com/lleballex/like-weather-bot
aiogram aiogram-bot bot likeweatherbot telegram telegram-bot weather weather-app weather-bot
Last synced: about 1 month ago
JSON representation
Telegram bot that allows you to view the weather anywhere in the world (@likeWeatherBot)
- Host: GitHub
- URL: https://github.com/lleballex/like-weather-bot
- Owner: lleballex
- License: apache-2.0
- Created: 2022-04-24T07:44:28.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-10T15:49:05.000Z (about 4 years ago)
- Last Synced: 2025-01-09T16:11:51.881Z (over 1 year ago)
- Topics: aiogram, aiogram-bot, bot, likeweatherbot, telegram, telegram-bot, weather, weather-app, weather-bot
- Language: Python
- Homepage: https://t.me/likeWeatherBot
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# โก 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](https://t.me/likeWeatherBot)**
### Tools:
- ๐ช Aiogram
- ๐ Peewee
- ๐คน๐ฝ PyOWM
## ๐ฅ Getting started
### Installing
##### For windows
```bash
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
```bash
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
```bash
python bot.py
```
## ๐๐ฝโโ๏ธ Contact me
[
](https://t.me/lleballex)
[
](https://vk.com/lleballex)