Giter Site home page Giter Site logo

amuljk / cowin-vaccination-slot-availability Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bhattbhavesh91/cowin-vaccination-slot-availability

0.0 0.0 0.0 35.03 MB

Script to check the available slots for Covid-19 Vaccination Centers from CoWIN API in India.

License: Apache License 2.0

Jupyter Notebook 94.55% Python 4.93% Shell 0.40% Dockerfile 0.12%

cowin-vaccination-slot-availability's Introduction

CoWIN vaccination slot availability using Python

Script to check the available slots for Covid-19 Vaccination Centers from CoWIN API in India. This CANNOT book slots automatically. The Indian Government had blocked the API for crawlers, but we are good to go.

The CoWin API currently states : "Further, these APIs are subject to a rate limit of 100 API calls per 5 minutes per IP".  

Update

I am humbled to see the overwhelming response that this project has received so far. Feel free to create amazing applications on top of this project. Due to my schedule, I won't be able to allot more time to this project. So there won't be any additional commits to this project.

Installing Python

Python is a programming language that is powerful but easy to learn. It is free, platform-independent, and popular among scientists.

Recommended Method: Anaconda

The Anaconda Python distribution is an easily-installable bundle of Python and many of the libraries used throughout this class. Unless you have a good reason not to, we recommend that you use Anaconda.

Mac/Linux users

  1. Download the appropriate version of Anaconda
  2. Follow the instructions on that page to run the installer
  3. Test it out: open a terminal window, and type python, you should see something like
Python 3.8.3 (default, Jul  2 2020, 17:30:36) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32

If Anaconda doesn't appear on the first line, you are using a different version of Python. See the troubleshooting section below.

  1. Test out the IPython notebook: open a Terminal window, and type ipython notebook. A new browser window should pop up.
  2. Click New Notebook to create a new notebook file
  3. Update IPython to the newest version by typing conda update ipython at the command line

Windows Users

  1. Download the appropriate version of Anaconda
  2. Follow the instructions on that page to run the installer. This will create a directory at C:\Anaconda
  3. Test it out: start the Anaconda launcher, which you can find in C:\Anaconda or, in the Start menu. Start the IPython notebook. A new browser window should open.
  4. Click New Notebook, which should open a new page.
  5. Update IPython to the newest version by opening a command prompt, and typing conda update ipython

Usage

  • Clone the repository.
  • The tool only works with Indian IP addresses so disconnect your VPN if needed.
  • Enter the command - cd cowin-vaccination-slot-availability-main/
  • Install all the dependencies - pip3 install -r requirements.txt
  • Run the python application - streamlit run app.py  

Demo

Articles

  Link to the article 1
  Link to the article 2

To view the video

or click on the image below

Python Script to Track Available Slots For Covid-19 Vaccinations in India

Want to know more about me?

Follow Me

cowin-vaccination-slot-availability's People

Contributors

bhattbhavesh91 avatar sayandeepsanyal avatar gurtejrehal avatar parikhkadam avatar somnathhazra avatar rohan7055 avatar saboorakhee 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.