NAME

WebService::Libris::Author - Author objects for WebService::Libris

SYNOSPIS

use 5.010;
use WebService::Libris;
my $author = WebService::Libris->new(
    type    => 'autho',
    id      => '246603',
);
say $author->libris_key; # main name entry in the db
for ($author->names) {
    say "    name variant: $_";
}
say "    identification URL: ", $author->same_as if $author->same_as;

DESCRIPTIONO

Author objects as returned from the libris.kb.se API search.

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

METHODS

WebService::Libris::Author inherits from WebService::Libris, and thus has all of its methods.

libris_key

Returns the canonical name of the author, as stored in libris.

names

Returns a list of alternative names used for that author. Often includes spelling variations and translations into other languages.

birthyear

Returns the birth year of the author.

same_as

Returns an URL that uniquely identifies the author. Those URLs typically point to viaf.org or dbpedia.org

books

Returns a list of books written by this author.