Socket
Socket
Sign inDemoInstall

edoctor-talon-checker

Package Overview
Dependencies
38
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    edoctor-talon-checker

Tool for check talon on Belarus online registry (eDoctor system)


Version published
Maintainers
1
Install size
4.56 MB
Created

Readme

Source

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
    url: 'http://178.124.171.86:8081/4DACTION/TalonyWeb_TalonyList',

    // form data
    form_data: { Check25: 'on' },
  })

  console.log(`talons available: ${count}`)
}, 1000 * 5000)

Example apps:

  • simple native server with notifications and cron
  • electron (🏗 WIP)
  • fullstack app (🏗 WIP)

How to get url and FormData

for example:

  1. Go to site and open dev tools in Network tab, select doctor on site and send data, see headers

TODO

  • method to auto get and parse params

License

MIT reslear

FAQs

Last updated on 09 May 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc