Coder Social home page Coder Social logo

misterbastean / vaccineavailability Goto Github PK

View Code? Open in Web Editor NEW

This project forked from solankimihir/vaccineavailability

0.0 1.0 0.0 41 KB

This is a simple front-end Javascript app that lets you watch vaccine availability on CoWin using Setu API

JavaScript 73.37% HTML 26.63%

vaccineavailability's Introduction

Introduction

This is a simple website that lets you monitor vaccine availability using API Setu (https://apisetu.gov.in/) This app however does not book appointments for you. For the purpose of appointment you can visit https://selfregistration.cowin.gov.in/.

How to use this website:

  1. Download the zip file
  2. Extract the zip file
  3. Open index.html in browser
  4. You can change the options and click on search.
  5. Let it auto-refresh for updating after set intervals (Generally refresh interval = 3 x Number of Disctrict IDs)

Notes about CoWIN API

  1. As per CoWin API guidelines on API Setu, the API Call limit is 100 API calls per 5 Minutes. This means on average you could make 1 API Request every 3 seconds.
  2. API requests are served from cached data. Hence, there could be cases where the data received by the app could be upto 30 mins old.
  3. API calls is being allowed only from Indian IP. If you make an API call from outside india, you will receive
    {
    "message": "Forbidden"
    }
    

Options:

For the purpose of this project, I have used only 2 District IDs Thane 392 Mumbai 395

You can check for other district IDs by inserting comma separated disctrict IDs in the user input form. You can get district IDs from API Setu.

vaccineavailability's People

Watchers

James Cloos 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.