Git Product home page Git Product logo

hirakc / cowin-vaccine-booking Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yashwanthm/cowin-vaccine-booking

0.0 0.0 0.0 14.85 MB

The app enables tracking coivid vaccine availability and automatically book a vaccination slot. This is based on Cowin API and supports the recently added Captcha code of Cowin.

Home Page: https://yashwanthm.github.io/cowin-vaccine-booking/

License: BSD 3-Clause "New" or "Revised" License

HTML 11.30% JavaScript 85.56% CSS 3.14%

cowin-vaccine-booking's Introduction

About

This utility can login into Cowin, track vaccine availability and automatically book a a vaccination slot if you are logged in. The app is made possible by https://apisetu.gov.in/public/api/cowin The deployment is available at https://yashwanthm.github.io/cowin-vaccine-booking/

This app also supports

  • Dose based availability
  • Captcha code
  • Paid/Free selection
  • Age Group Selection

API for integrating link based booking into your app/Notifications system

This API allows you to open a URL from within your application where a user will be readily available to book. Support for passing user's token coming soon. Please report an issue if you need this expedited.

URL Pattern:

https://yashwanthm.github.io/cowin-vaccine-booking/?dose=${dose}&session_id=${session_id}&slot=${slot} Where

  • dose is a Number indicating dose1 or dose2. Value 1 indicates dose1 and value 2 indicates dose 2
  • session_idis a String and it's the value of the session_id as available from Cowin's availability API
  • slot is a String which is the slot list item on the slots Array available from

Example:

https://yashwanthm.github.io/cowin-vaccine-booking/?dose=1&session_id=13526b72-38f3-46bb-970c-0c4fd893a1e9&slot=09%3A00AM-11%3A00AM

Running locally

yarn install yarn start

Update poll frequency using

localstorage.pollFreq = 1000 This also works on the deployed version.

cowin-vaccine-booking's People

Contributors

yashwanthm avatar

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.