A
A
Andrey83792022-02-07 07:31:03
Bots
Andrey8379, 2022-02-07 07:31:03

How to teach a bot in VK to collect information from the site?

You need to create a bot that will take information either from the NetSchool API or from Excel spreadsheets online, and with each adjustment it will also change its own information. Will send updated information. The bot will have a schedule, where it should display, upon request, a schedule for students and for each teacher separately. Can you tell me how to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
viktor_alkalie, 2022-02-10
@viktor_alkalie

Use the https://github.com/vityaschel/asurso library for JavaScript and the XLSX library to create Excel spreadsheets in NodeJS. You can run periodic updates either with crontab or with timers within the js itself. You can make a bot for VKontakte using the https://www.npmjs.com/package/vk-io library or for more advanced ones there is a telegram library, but to be honest I will tell you that the telegram api is quite simple so that you can make requests using the usual node-fetch , or use node-telegram-bot-api

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question