NAME
Catmandu::Importer::Inspire - Package that imports Inspire data http://inspirehep.net/.
SYNOPSIS
use Catmandu::Importer::Inspire;
my %attrs = (
id => '1203476',
format => 'endnote',
);
OR
my %attrs = (
query => 'doi:10.1103/PhysRevD.82.112004'
format => 'marc',
);
my $importer = Catmandu::Importer::Inspire->new(%attrs);
my $n = $importer->each(sub {
my $hashref = $_[0];
# ...
});