An open API service indexing awesome lists of open source software.

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)

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)