eDoctor talon checker
Tool for check talon (a doctor's appointment card) availability,on Belarus online registry eDoctor hospital info system
Install
npm i edoctor-talon-checker
Usage
import { checkTalon } from 'edoctor-talon-checker'
setInterval(async () => {
const { count } = await checkTalon({
url: 'http://178.124.171.86:8081/4DACTION/TalonyWeb_TalonyList',
form_data: { Check25: 'on' },
})
console.log(`talons available: ${count}`)
}, 1000 * 5000)
Example apps:
How to get url and FormData
for example:
- Go to site and open
dev tools
in Network
tab, select doctor on site and send data, see headers
TODO
License
MIT reslear