WebService::Audioscrobbler::SimilarArtist - An object-oriented interface to the Audioscrobbler WebService API


WebService-Audioscrobbler documentation  | view source Contained in the WebService-Audioscrobbler distribution.

Index


NAME

Top

WebService::Audioscrobbler::SimilarArtist - An object-oriented interface to the Audioscrobbler WebService API

SYNOPSIS

Top

This is a subclass of WebService::Audioscrobbler::Artist which implements some aditional fields that cover similarity aspects between two artists.

    use WebService::Audioscrobbler;

    my $artist = WebService::Audiocrobbler->artist('Foo');

    for my $similar ($artist->similar_artists) {
        print $similar->name . ": " . $similar->match . "\% similar\n";
    }

FIELDS

Top

match

The similarity index between this artist and the related artist. It's returned as a number between 0 (not similar) and 100 (very similar).

AUTHOR

Top

Nilson Santos Figueiredo Júnior, <nilsonsfj at cpan.org>

COPYRIGHT & LICENSE

Top


WebService-Audioscrobbler documentation  | view source Contained in the WebService-Audioscrobbler distribution.