WebService::Audioscrobbler::SimilarUser - An object-oriented interface to the Audioscrobbler WebService API
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"; }
related_to
The related user from which this SimilarUser object has been constructed from.
SimilarUser
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).
Nilson Santos Figueiredo Junior, <nilsonsfj at cpan.org>
<nilsonsfj at cpan.org>
Copyright 2006-2007 Nilson Santos Figueiredo Junior, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WebService::Audioscrobbler, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Audioscrobbler
CPAN shell
perl -MCPAN -e shell install WebService::Audioscrobbler
For more information on module installation, please visit the detailed CPAN module installation guide.