Skip to content

This is telegram bot, that gives money transfer rate of RUB/TJS top banks of Tajikistan by Scraping their webpages.

License

Notifications You must be signed in to change notification settings

beckortikov/somonibot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram bot based on aiogram

This is my first expirience to create telegram bot based on aiogram. This bot scrapes exchange rate of Russian rubles and Tajikistans somoni from xe.com, National Bank of Tajikistan and money transfer rate from top Tajik banks then it shows to users.

1. Requirements:

python

You need install all packeges from requirements.txt

2. Problem that I solved

There is exist local telegram group which I follow and where everytime people were asked about money transfer rate of RUB/TJS. It's Tajikistan local currency somoni. Everytime somebody telling for everyone who asked the rate of the currency. So that's why I dicided automate this procces with getting top local banks money tranfer rate. Cause of those Banks didn't have API, I dicided scrap web pages of banks by using requests, BeautifulSoup. Then I created Telegram bot where people can just press the button to know ex rate of currency.

3. Structure

In banks module located all related scripts that scrape data from webpages of Banks

4. How to run?

After install all requirments and get API from BotFather of Telegram run it in terminal python bot.py

5. How bot and response looks like:

About

This is telegram bot, that gives money transfer rate of RUB/TJS top banks of Tajikistan by Scraping their webpages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages