Catmandu::Store::Adlib -Retrieve items from a Adlib instance
# From the command line catmandu export Adlib to YAML --id 1234 --endpoint http://test2.adlibsoft.com --username foo --password bar --database collect.inf # From a Catmandu Fix lookup_in_store( object_priref, Adlib, endpoint: http://test2.adlibsoft.com, username: foo, password: bar, database: collect.inf ) # From Perl code use Catmandu; my $store = Catmandu->store('Adlib', username => 'foo', password => 'bar', endpoint => 'http://test2.adlibsoft.com', database => 'collect.inf' )->bag; my $item = $store->get('1234');
Catmandu::Store::Adlib allows the use of Adlib as a store in Catmandu.
url of the Adlib API. Do not include the api/wwwopac part; the query builder will append it automatically.
url
api/wwwopac
Name of the database (as configured in adlibweb.xml) you want to query.
Name of a user that can be used to query the API. Only Basic Authentication is currently supported.
Password for the user.
Create a new Catmandu::Store::CA
Retrieve a record identified by $id. Note that $id is the priref, not the object_number.
$id
Not supported.
List all items in the instance and iterate over them one at the time. Returns a single object.
Pieter De Praetere <pieter@packed.be>
Copyright 2017- PACKED vzw, VKC vzw
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catmandu::Adlib, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::Adlib
CPAN shell
perl -MCPAN -e shell install Catmandu::Adlib
For more information on module installation, please visit the detailed CPAN module installation guide.