Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yauhenipo/py_telegram_popot_bot
Telegram bot developed in python. Bot has useful functions: parsing sites, works with API and with UI.
https://github.com/yauhenipo/py_telegram_popot_bot
bot telegram-bot telegram-bot-api
Last synced: 20 days ago
JSON representation
Telegram bot developed in python. Bot has useful functions: parsing sites, works with API and with UI.
- Host: GitHub
- URL: https://github.com/yauhenipo/py_telegram_popot_bot
- Owner: YauheniPo
- Created: 2018-08-11T10:26:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-06T20:25:57.000Z (over 2 years ago)
- Last Synced: 2024-04-17T05:18:35.578Z (7 months ago)
- Topics: bot, telegram-bot, telegram-bot-api
- Language: Python
- Homepage: https://t.me/popot_bot
- Size: 7.98 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# py_telegram_popot_bot
![Python Telegram bot](https://github.com/YauheniPo/py_telegram_popot_bot/workflows/Python%20Telegram%20bot/badge.svg)
[![codecov](https://codecov.io/gh/YauheniPo/py_telegram_popot_bot/branch/master/graph/badge.svg)](https://codecov.io/gh/YauheniPo/py_telegram_popot_bot)
Telegram Bot **@popot_bot**
Functions:
```🤖 /start - HELP - telegram bot functionals
💵 /currency - $ / € / RUR - currency data and graph
🎬 /cinema - cinema posters
⚽ /football - football calendar
📷 /instagram - save Instagram post content by link
📍 /geo - location of the nearest ATMs
📈 /virus - COVID-19 virus statistics
```
![popot_bot](https://github.com/YauheniPo/py_telegram_popot_bot/blob/master/media/ezgif.com-video-to-gif.gif)
pip install -r requirements.txt (Python 2)
pip3 install -r requirements.txt (Python 3)python popot_bot.py
Run Telegram bot Webhook:
1) activate Webhook for bot:
https://api.telegram.org/bot/setWebhook?url=https://b17b8388.**_ngrok_**.io/
https://api.telegram.org/bot/setWebhook?url=https://.pythonanywhere.com/delete Webhook for bot:
https://api.telegram.org/bot/deleteWebhook2) https://www.pythonanywhere.com/user//
- Console - New Bash
- virtualenv venv --python=python3.8
- source venv/bin/activate
- clone git branch
- pip install -r py_telegram_popot_bot/requirements.txt
- Files
- Web
- new web app
- Manual
- Source code: set path_to_root_project_py_files
- Virtualenv: set path_to_venv_folder
- click to WSGI configuration file:
- import sys
path = '/home/YauheniPo/py_telegram_popot_bot'
if path not in sys.path:
sys.path.append(path)
from server import app as application
- click Save
## Stargazers over time[![Stargazers over time](https://starchart.cc/YauheniPo/py_telegram_popot_bot.svg)](https://starchart.cc/YauheniPo/py_telegram_popot_bot)