NAME

Catmandu::Importer::EuropePMC - Package that imports EuropePMC data.

API Documentation

This module uses the REST service as described at http://www.ebi.ac.uk/europepmc/.

SYNOPSIS

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];
  # ...
});

OPTIONS

  • 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.

SEE ALSO

Catmandu::Iterable, Catmandu::Fix, Catmandu::Importer::PubMed