Skip to content

A minimal API for scraping drug side effect data from MedlinePlus

Notifications You must be signed in to change notification settings

stevenbedrick/DrugSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ReadMe: DrugSearch

This is a small Ruby class that (at one point, anyway) was able to connect to the US National Library of Medicine's MedlinePlus service, lookup drugs, and return lists of their side effects. At the moment, most of its unit tests fail-- probably due to site changes on the NLM's side. However, I suspect that, with relatively minor fixes, an interested party could get it working again quite quickly. This code was used in the system described by this paper.

I make no claims about the quality of the code: it was "good enough for me", but that ain't saying much. As such, it's released under the CRAPL license, with all that that license entails (particularly regarding clauses 2.5 and 3.3).

The included RSpec file should make it easier to get running again- the tests might be a little out of date, but they should be easy to update as well.

Please feel free to fork the heck out of this, make the code less sketchy, get it running again, etc. Send me a pull request if you do and I'll make sure to list you as a contributor.

About

A minimal API for scraping drug side effect data from MedlinePlus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages