Russian  English  All projects

Tie telegram. bot with the mysql database



There is a telegram bot exchanger, air exchanger website.
The bottom line is that they work both NOT related to each other.

Telegram bot works on the following principle: for each currency created atelinae text files:
1. selling rate
2. purchase rate
3. Reserve currency
the contents of which are pulled when requested in TG bot.

What you need to do:
1. Just pull up the courses from the database of the website in the first two files.
2. To change the logic of working with the third file (it is changed automatically in the event of a successfully committed exchange) – to change the entry in the database
3. To give a short explanation of the configuration of the following areas

Mysql Database has a clear structure
01.04.2020 11:45



 Answers freelancers