Catmandu::Importer::CrossRef(3pm)

Catmandu::Importer::CrossRef3pm

Package that imports data form crossref api

Usage

  use Catmandu::Importer::CrossRef;
  my %attrs = (
    doi => '<doi>',
    usr => '<your-crossref-username>',
    pwd => '<your-crossref-password>',
    fmt => '<xsd_xml | unixref | unixsd | info>'
  );
  my $importer = Catmandu::Importer::CrossRef->new(%attrs);
  my $n = $importer->each(sub {
    my $hashref = $_[0];
    # do something here
  });

Overview

This Catmandu::Importer imports data from the CrossRef API given a DOI.

Configuration

base

Base url of the API. Default is to <http://doi.crossref.org/search/doi>.

doi

Required. The DOI you want data about.

usr

Required. Your CrossRef username. Register first!

fmt

The optional output format. Default is unixref <http://help.crossref.org/unixref-query-result-format>. Other possible values are unixsd <http://help.crossref.org/unixsd>, and xsd_xml <http://help.crossref.org/deprecated_q> (deprecated).

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

From libcatmandu-crossref-perl 0.007-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.