NAME

WWW::Search::Coveralia::Result::Artist - an artist found by WWW::Search::Coveralia::Artists

SYNOPSIS

my $result = $search->next_result;
say 'URL: ', $result->url;
say 'Name: ', $result->name;
my @albums = $result->albums;
# @albums is an array of WWW::Search::Coveralia::Result::Album objects

DESCRIPTION

WWW::Search::Coveralia::Result::Artist is the result of a WWW::Search::Coveralia::Artists search.

Useful methods:

url

Returns a link to the artist page on coveralia.

title

Returns the name of the artist.

albums

Returns a list of albums (WWW::Search::Coveralia::Result::Album objects) belonging to this artist. Calls parse_page if not called already.

parse_page

Downloads the covers page and extracts the albums. It is called automatically by albums when necessary.

SEE ALSO

WWW::Search::Coveralia::Artists

AUTHOR

Marius Gavrilescu, <marius@ieval.ro>

COPYRIGHT AND LICENSE

Copyright (C) 2014 by Marius Gavrilescu

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.18.1 or, at your option, any later version of Perl 5 you may have available.