Skip to content

Latest commit

 

History

History
 
 

COWIN API

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

COWIN API

COWIN is a cloud-based IT solution for planning, implementation, monitoring, and evaluation of Covid-19 vaccination in India.


The COWIN public API can be used to obtain the details of vaccination sessions available.

The API can be used

  • to get available vaccination sessions on a specific date in a given pincode.
  • to get available vaccination sessions on a specific date in a given district.
  • to get available vaccination sessions for 7 days from a specific date in a given pincode.
  • to get available vaccination sessions for 7 days from a specific date in a given district.

Source


Example API Request:


Setup Instructions

  1. Have Python 3.x setup in the system

  2. Install the necessary packages

  3. Run the code using the command

      python cowin_api.py
    

    and obtain the Output


Workflow of the Program

  1. Choose the option to obtain details of vaccination sessions
  2. Entering wrong option prompts the user to enter the right option
  3. Enter the date in proper format
  4. Enter PINCODE or District ID according to the option entered
  5. Obtain the Output

Output