Giter VIP home page Giter VIP logo

auto-vaccine-appointment's Introduction

auto-vaccine-appointment

Automatically searches for and completes booking of Covid-19 vaccination appointment. New York State only.

How does this work?

This script opens a Chrome browser, waits for appointments to open up, and once available will select a random time slot and complete the entire booking process automatically.

Update (3/30/2021): This script is a lot less effective now that many of the vaccination sites have implemented captchas (while strangely, others have not like the J&J Javitz Center appointments). I've implemented some quick & hacky code in scenario #1 of the feature spec that will assist with page refreshes there.

Installation

  1. Install a Ruby version manager such as rbenv or rvm (on Windows, check out https://rubyinstaller.org/)
  2. Clone the repo
  3. gem install bundler
  4. bundle install

Running

  1. There are a bunch of constants at the top of the file named book_vaccine.rb. Update those to reflect your own personal information.
  2. rspec spec/features/book_vaccine.rb > booking.log
  3. Wait forever because appointment slots never seem to open up anyway, unless you're in Potsdam, NY.

Here it is in action:

auto-vaccine-appointment's People

Contributors

philipfong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

auto-vaccine-appointment's Issues

error experience, latest version

Just cloned the new version a bit ago, and ran it locally. Receiving the following error:

E, [2021-02-22 11:27:11 #5468] ERROR -- : Something major went wrong. Please report this error: wrong number of arguments (given 1, expected 0)

Any thoughts?

Thanks again.

Sudden bluetooth error?

I used this to book my parents a month back! Worked great! Went to book myself but damn captchas!

I see you updated to fix this though. I loaded the new files but now I get this error

"Bluetooth: bluetooth_adapter_winrt.cc:1072 Getting Default Adapter failed."

Refinement question

Have you considered a version of the tool focused on one specific location? At the page listing all sites, you would opt to select the preferred site, and then the tool would continually refresh the page until a slot became available, taking the first available time on the first available date. This would be helpful for those trying to use this tool to get appointments for their parents proximate to where they live. Thanks for the great work on this.

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.