Audio::Scrobbler2 - Interface to last.fm scrobbler API
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");
Create and return new Audio::Scrobbler2 object.
Roman (Ky6uk) Nuritdinov CPAN ID: BAGET baget@cpan.org http://ky6uk.org
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.
To install Audio::Scrobbler2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Audio::Scrobbler2
CPAN shell
perl -MCPAN -e shell install Audio::Scrobbler2
For more information on module installation, please visit the detailed CPAN module installation guide.