Skip to content

CruzHacks-2022/backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backend

Setup

virtualenv ./venv
source ./venv/bin/activate
pip install -r requirements.txt
python webscraper.py

Usage

There are two requests you can make both of which are post requests.

It webscrapes https://www.drugs.com/imprints.php to find the pill information. https://www.drugs.com/ for the drug informations.

localhost:port/multi

BRAND: DRUG

localhost:port/pill

IMPRINT: STRING

SHAPE: SHAPE OF PILL

COLOR: COLOR OF PILL

Drug List generator

This just creates a json with every drug name in Medline and a link to it in Medline

python listgen.py

Attributions

https://www.drugs.com/ For pill information https://medlineplus.gov/druginformation.html For drug information

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published