Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Latest commit

 

History

History
49 lines (28 loc) · 1.6 KB

README.md

File metadata and controls

49 lines (28 loc) · 1.6 KB

rovaccine

Simple Node.js cron that checks the Official Romanian Covid Vaccine platform for available slots in your area.

UPDATE: FUN IS OVER!

The romanian government introduced a waiting list feature which makes this script quite uselesss. There's no point in using this anymore.

Disclaimer:

I developed this bot for my personal usage and I will not be responding to issues or code-style comments. If you have any improvements, feel free to open a pull request and I'll be happy to accept your changes.

Usage:

  1. Clone this repo
  2. npm install
  3. Change the PROFILE_DATA object in config.js with your data.
  4. node app.js

The script will make a request every 30 seconds and it'll notify you once it finds an availble slot

How to pick the vaccine ?

In config.js you have an array named VACCINE_TYPES. Depending on your vaccine prefference insert the following values into it:

  • 1 for Pfizer-BioNTech
  • 2 for Moderna
  • 3 for AstraZeneca*

FAQ

Where do I get the data for the PROFILE_DATA object ?

This script is already extremly easy to setup and use therefore I'll let you figure that one on your own.

The initial request returns an HTML instead of a JSON and I get a weird error

Probably your config data is wrong. Make sure your cookie is valid.

How can we contribute ?

  1. Fork this repo
  2. Create a new branch on your fork
  3. Write your changes
  4. Follow this guide to open a pull request