Skip to content

haodemon/drugs-mapi-perl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drugs::Mapi

Drugs::Mapi - Wrapper module for http:https://mapi-us.iterar.co/

SYNOPSIS

use Drugs::Mapi;

my $d = Drugs::Mapi->new();

$d->get_drugs('Ibuprofen')
# [ 'Ibuprofen', 'Ibuprofen and diphenhydramine citrate', <...> ]

$d->get_dosages('Aspirin')
# [ '25MG', '200MG', '325MG' ]

$d->get_ingredients('Propecia');
# [ 'Finasteride' ]