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

Catmandu::Zotero - Catmandu modules for working with Zotero web

  # From the command line
  $ catmandu convert Zotero --userID <userID> to JSON
  $ catmandu convert Zotero --groupID <groupID> to JSON
  
  # From Perl
  use Catmandu;
  my $importer = Catmandu->importer('Zotero', userID => '...');
  $importer->each(sub {
           my $item = shift;
           print "%s %s\n", $item->{_id} , $item->{title}->[0];
  });

Catmandu::Importer::Zotero

See <https://github.com/LibreCat/Catmandu-Zotero/tree/master/example/zotero_marc.fix> for an use case how to transform a Zotero library into a MARCXML dump:

    $ catmandu convert Zotero --groupID <key> to MARC --type XML --fix zotero.fix

Patrick Hochstenbach, "patrick.hochstenbach at ugent.be"

CONTRIBUTORS

Jakob Voss, "voss at gbv.de"

Copyright 2015 Patrick Hochstenbach

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

2023-02-05 perl v5.36.0