Catmandu::Importer::EuropePMC - Package that imports EuropePMC data.
This module uses the REST service as described at http://www.ebi.ac.uk/europepmc/.
use Catmandu::Importer::EuropePMC; my %attrs = ( source => 'MED', query => 'malaria', module => 'search', db => 'EMBL', page => '2', ); my $importer = Catmandu::Importer::EuropePMC->new(%attrs); my $n = $importer->each(sub { my $hashref = $_[0]; # ... });
source: default is 'MED'
query: either pmid or query is required.
pmid: either pmid or query is required.
module: default is 'search', other possible values are 'databaseLinks', 'citations', 'references'
db: the name of the database. Use when module is 'databaseLinks'.
page: the paging parameter
raw: optional. If true delivers the raw xml object.
Catmandu::Iterable, Catmandu::Fix, Catmandu::Importer::PubMed
To install Catmandu::EuropePMC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::EuropePMC
CPAN shell
perl -MCPAN -e shell install Catmandu::EuropePMC
For more information on module installation, please visit the detailed CPAN module installation guide.