logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Configuration

       id  Retrieve record by its Inspire ID.

       doi Retrieve record by its DOI from Inspire database.

       query
           Get results by an arbitrary query.

       fmt Specify  the  format  to  be  delivered. Default is to 'endnote'. Other formats are 'nlm', 'marc' and
           'dc'.

       limit
           Maximum number of records. Default is to 25.

Name

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

See Also

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

perl v5.36.0                                       2023-02-04                   Catmandu::Importer::Inspire(3pm)

Synopsis

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

See Also