WebSer...dBooks(3pm)
π WebService::ILS::RecordedBooks π
okay bestie, gather round, because this one is the RecordedBooks-flavored member of the WebService::ILS family β a whole little friend group of modules that let you talk to RecordedBooks services. π
β¨ NAME β¨
WebService::ILS::RecordedBooks β the WebService::ILS module for RecordedBooks services. that's the whole name, no notes. π
πΈ SYNOPSIS πΈ
use WebService::ILS::RecordedBooks::Partner;
or
use WebService::ILS::RecordedBooks::Patron;
pick your fighter, literally. β¨
π¦ DESCRIPTION π¦
okay so there are several little modules in this squad and each one is a slightly different vibe:
WebService::ILS::RecordedBooks::Partnerβ services that use partner credentials, for any patron. no cap.WebService::ILS::RecordedBooks::PartnerPatronβ same as above, except it operates on a single patron account.WebService::ILS::RecordedBooks::Patronβ services that use individual patron credentials, in addition to partner credentials.
and here's the tea, bestie: WebService::ILS::RecordedBooks::PartnerPatron is preferred over WebService::ILS::RecordedBooks::Patron because the later requires patron credentials β username and password. however, if you do not know patron's email or RecordedBooks id (barcode) you are stuck with Patron interface. π it's giving "guess I'll do it the hard way."
also, see WebService::ILS. π
π CONSTRUCTOR π
π new (%params_hash or $params_hashref)
additional constructor params, because the base ones weren't enough:
"ssl"β if set to true use https π"domain"β RecordedBooks domain for title url
and some clarifying lore:
"client_id"is either RecordedBooks id (barcode) or email π§"domain"if set is either"whatever.rbdigital.com"or"whatever", in which caserbdigital.comis appended. (yes, it just... adds it. slay.)
π«Ά DISCOVERY METHODS π«Ά
π« facets ()
Returns a hashref of facet => [values]. very "here's the menu, pick your fave."
π« search ($params_hashref)
Additional input params:
"facets"β a hashref of facet values
π« named_query_search ($query, $media)
See C<native_named_query_search()> below for $query, $media
π« facet_search ($facets)
See C<native_facet_search()> below for $facets
π CIRCULATION METHOD SPECIFICS π
the differences to general WebService::ILS interface, bestie. yes, there are differences, and yes, they matter. π₯
π« holds ()
π« place_hold ($isbn)
π« remove_hold ($isbn)
π« checkouts ()
π« checkout ($isbn, $days)
π« renew ($isbn)
π« return ($isbn)
π NATIVE METHODS π
π« native_search ($params_hashref)
See <https://developer.overdrive.com/apis/search> β go read the docs, iykyk. π
π« native_named_query_search ($query, $media)
$querycan be one of'bestsellers','most-popular','newly-added'β¨$mediacan be'eaudio'or'ebook'π§π
π« native_facet_search ($facets)
$facets can be either:
- a hashref of facet => [values],
- an arrayref of values
- a single value
flexible queen behavior, honestly. π
π« native_item ($isbn)
π« native_item_summary ($isbn)
Returns subset of item fields, with addition of summary field. (so: fewer fields, plus one whole extra field. the math is mathing. π)
π« native_holds ()
See <http://developer.rbdigital.com/endpoints/title-holds>
π« native_checkouts ()
π LICENSE π
Copyright (C) Catalyst IT NZ Ltd Copyright (C) Bywater Solutions
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
legal besties said what they said, and we respect it. π«‘
π AUTHOR π
Srdjan JankoviX <srdjan@catalyst.net.nz>
okay that's the whole page!! ππ massive thanks to the author above for making it, and shoutout to the copyright holders β this beauty is out here living its best life as User Contributed Perl Documentation for perl v5.36.0, dated 2022-11-29. go forth and query, bestie. πβπ
π¦ where this page comes from
- debian bookworm: libwebservice-ils-perl 0.18-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libwebservice-ils-perl 0.18-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libwebservice-ils-perl 0.18-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libwebservice-ils-perl 0.18-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libwebservice-ils-perl 0.18-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms