Giter Club home page Giter Club logo

rovaccine's Introduction

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

rovaccine's People

Contributors

cepem avatar

Stargazers

cezaragrig avatar D. Andreea avatar  avatar Daniel Placinta avatar  avatar Alex Olari avatar Nicolae Marius Ghergu avatar Mihai Voinea avatar

Watchers

 avatar

Forkers

alecslupu

rovaccine's Issues

Pushing rejected

Is there a possibility to give us pushing permissions in custom branches? You can keep the main branch protected and go through the pull request flow.
I updated the code a little bit to search in multiple counties at once and I wanted to share it with everyone.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.