This project was created during the 24 hours Hackathon conducted by Microsoft Innovations Club,VIT Chennai and sponsored by Geek for Geeks.
The Project is divided into 2 sections:
...The PharmaCat Android App (based on PharmaCat REST API) created by Prince Singh
...The Web Application(utilizes Flask) and API Server created by Apratim Shukla, Mayank Tolani and Swapnil Mishra
To setup the Web Application along with API server do:
pip install virtualenv
virtualenv venv
venv\scripts\activate
Then after activating the virtual environment do:
pip install -r requirements.txt
Documentation for PharmaCat RESTFUL JSON API
Method | URL | USE |
---|---|---|
GET |
http://127.0.0.1:5000/api/details/apitoken | Shows your PharmaCat Account Details |
GET |
http://127.0.0.1:5000/api/login/username~password | Generates your PharmaCat API Token upon successful login |
GET |
http://127.0.0.1:5000/api/symptoms | Generates list of all Symptoms in your Database |
GET |
http://127.0.0.1:5000//api/diagnosesym/symptom1~symptom2 | Diagnoses Disease,Medicine and Specialist |
GET |
http://127.0.0.1:5000/api/diagnosetext/word1 ~ word2 ~ word3 | Diagnoses Disease |
GET |
http://127.0.0.1:5000/api/hospital/apitoken | Generates list of Hospitals near you |
GET |
http://127.0.0.1:5000/api/register/username ~ password ~ email ~ fullname ~ address ~ bloodgroup ~ age | Registers the Patient in the PharmaCat Database |