Python,Flask,SqlAlchemy,Heroku PostgreSQL.
1.Create a virtual env in your system.
2.Clone the reposirtory inside your venv project folder.
3.Run the project and install required modules.
4.Generate a token by passing username in request param by using END point (/user/generate/token).
5.Add 'x-access-token' in the header of the request to return the data.
6.Use END-point(/api/v1/get/vaccine/slots/all_age) to return the response of the given request.
{
"pincode": "228001",
"date": "26-07-2021",
"age":"18+"
}
{
"slots": [
{
"dose1": 0,
"dose2": 6,
"max_age": 80,
"min_age": 18,
"place": "DMH Ayush Wing COVAXIN",
"vaccine": "COVAXIN"
},
{
"dose1": 0,
"dose2": 5,
"max_age": 80,
"min_age": 18,
"place": "Bhadaiyan CHC",
"vaccine": "COVISHIELD"
}
]
}