Helps in filtering out all the health care centres with availability of Covid-19 vaccines in India. It resolves few of the issues present with official website https://www.cowin.gov.in:
- It helps you filter out only those centres which have vaccine(s) available. So it saves you from finding a needle in haystack.
- It also helps you filter out only those centres which have vaccine(s) available for your age. So, you do not go through a list of centres who have vaccine, but not for you.
- Install python and pip (preffered: python3) [follow: https://realpython.com/installing-python/]
- Take a pull of the main branch of this github repository
- Run: cd ./covid-vaccine-locator-india [for windows replace '/' with '\' ]
- pip install virtualenv
- virtualenv virtualenv
- Run: source ./virtualenv/bin/activate [for linux/mac] || Run: .\virtualenv\Scripts\activate [for windows]
- Run: cd ./covid_vaccine_locator [for windows replace '/' with '\' ]
- Run: pip install ./requirements.txt [for windows replace '/' with '\' ]
-
Run: python manage.py runserver
-
Install Postman (industry standard app to test APIs)
-
In Postman, make a GET request on URL: http://127.0.0.1:8000/vaccine_finder/ . In the request body pass the following:
date:06-05-2021 # Shows all the centres with available vaccines, for the next 7 days from this date
age:50 # Age of the person to be vaccinated
state_name:uttar pradesh # Name of a state in India
district_name:lucknow # Name of a district of that state
Note: All the values are passed as string