DOKK / manpages / debian 12 / libcatmandu-inspire-perl / Catmandu::Importer::Inspire.3pm.en
Catmandu::Importer::Inspire(3pm) User Contributed Perl Documentation Catmandu::Importer::Inspire(3pm)

  Catmandu::Importer::Inspire - Package that imports Inspire data http://inspirehep.net/.

  use Catmandu::Importer::Inspire;
  my %attrs = (
    id => '1203476',
    fmt => 'endnote',
  );
  my $importer = Catmandu::Importer::Inspire->new(%attrs);
  my $n = $importer->each(sub {
    my $hashref = $_[0];
    # ...
  });

Retrieve record by its Inspire ID.
Retrieve record by its DOI from Inspire database.
Get results by an arbitrary query.
Specify the format to be delivered. Default is to 'endnote'. Other formats are 'nlm', 'marc' and 'dc'.
Maximum number of records. Default is to 25.

Catmandu::Iterable, Catmandu::ArXiv, Catmandu::CrossRef

2023-02-04 perl v5.36.0