The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WebService::Libris::Book - represents a Book in the libris.kb.se webservice

SYNOPSIS

    use WebService::Libris;
    for my $b (WebService::Libris->search(term => 'Rothfuss')->all) {
        # $b is a WebService::Libris::Book object here
        say $b->title;
        say $b->isbn;
    }

DESCRIPTION

WebService::Libris::Book is a subclass of WebService::Libris and inherits all its methods.

All of the following methods return undef or the empty list if the information is not available.

METHODS

title

returns the title of the book

date

returns the publication date as a string (often just a year)

isbn

returns the ISBN

returns a collection of related books

held_by

returns a collection of libraries that hold this book

authors_obj

returns a collection of WebService::Libris::Author objects which are listed as creator of this book.

authors_text

returns a list of creators of this book, as extracted from the response. This often contains duplicates, or slightly different versions of the same author name, so should be used with care.