WebService::Audioscrobbler::SimilarUser - 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::SimilarUser - An object-oriented interface to the Audioscrobbler WebService API

SYNOPSIS

Top

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

    use WebService::Audioscrobbler;

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

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

FIELDS

Top

match

The similarity index between this user and the related user. 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.