Nilson Santos Figueiredo Júnior > WebService-Audioscrobbler > WebService::Audioscrobbler::SimilarUser

Download:
WebService-Audioscrobbler-0.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 0.07   Source  

NAME ^

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

SYNOPSIS ^

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 ^

related_to

The related user from which this SimilarUser object has been constructed from.

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 ^

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

COPYRIGHT & LICENSE ^

Copyright 2006-2007 Nilson Santos Figueiredo Júnior, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: