WebService::Libris::Author - Author objects for WebService::Libris
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;
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.
WebService::Libris::Author inherits from WebService::Libris, and thus has all of its methods.
WebService::Libris::Author
Returns the canonical name of the author, as stored in libris.
Returns a list of alternative names used for that author. Often includes spelling variations and translations into other languages.
Returns the birth year of the author.
Returns an URL that uniquely identifies the author. Those URLs typically point to viaf.org or dbpedia.org
Returns a list of books written by this author.
To install WebService::Libris, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Libris
CPAN shell
perl -MCPAN -e shell install WebService::Libris
For more information on module installation, please visit the detailed CPAN module installation guide.