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