WWW::ELISA - a module for working the the REST API ELi:SA (https://elisa.hbz-nrw.de/)
use WWW::Elisa; my $api = WWW::ELISA->new(callerID => "user1", secret => "s3cret"); my $data = { userID => 'me@example.com', notepadName => "Wishlist_1", titleList => [ {title => {isbn => "9780822363804", notiz => "WWW::ELISA Test", notiz_intern => "Info"}}, {title => {isbn => "9788793379312", notiz => "WWW::ELISA Test2", notiz_intern => "Info2"}}, ], available_only => "true", # optional }; $api->create_notepad($data); # or $api->create_basket($data);
endpoint
Optional. Default is to https://elisa.hbz-nrw.de:8091/api/rest
callerID
Required.
secret
Pushes the notepad data to ELi:SA.
Vitali Peil <vitali.peil@uni-bielefeld.de>
Copyright 2018- Vitali Peil
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WWW::ELISA, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::ELISA
CPAN shell
perl -MCPAN -e shell install WWW::ELISA
For more information on module installation, please visit the detailed CPAN module installation guide.