Roman Nuritdinov > Audio-Scrobbler2-0.05 > Audio::Scrobbler2

Download:
Audio-Scrobbler2-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.05   Source  

NAME ^

Audio::Scrobbler2 - Interface to last.fm scrobbler API

SYNOPSIS ^

    use Audio::Scrobbler2;

    my $scrobbler = Audio::Scrobbler2->new($api_key, $api_secret);
    my $api_token = $scrobbler->auth_getToken();

    # web-auth required
    # http://www.last.fm/api/auth/?api_key=$api_key&token=$api_token
    my $api_session = $scrobbler->auth_getSession();

    $scrobbler->track_scrobble("Artist Name", "Track Name");

METHODS ^

new

    Create and return new Audio::Scrobbler2 object.

AUTHOR ^

    Roman (Ky6uk) Nuritdinov
    CPAN ID: BAGET
    baget@cpan.org
    http://ky6uk.org

COPYRIGHT ^

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

The full text of the license can be found in the LICENSE file included with this module.

syntax highlighting: