-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
77 lines (48 loc) · 1.66 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
NAME
Net::LastFM::Submission - Perl interface to the Last.fm Submissions Protocol
SYNOPSIS
use Net::LastFM::Submission;
my $submit = Net::LastFM::Submission->new(
'user' => 'net_lastfm',
'password' => '12',
);
$submit->handshake;
$submit->submit(
'artist' => 'Artist name',
'title' => 'Track title',
'time' => time - 10*60, # 10 minutes ago
);
$submit->now_playing(
'artist' => 'Artist name',
'title' => 'Track title',
);
DESCRIPTION
The module provides a simple Perl interface to the Last.fm Submissions Protocol (current version is 1.2.1).
The Last.fm Submissions Protocol is designed for the submission of now-playing and recent historical track data to Last.fm user profiles (aka 'Scrobbling').
http://www.lastfm.ru/api/submissions
See exmaples/*
INSTALLATION
To install this module, run the following commands:
perl Build.PL
./Build
./Build test
./Build install
SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the
perldoc command.
perldoc Net::LastFM::Submission
You can also look for information at:
RT, CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-LastFM-Submission
CPANTS, CPAN Testing Service
http://cpants.perl.org/dist/overview/Net-LastFM-Submission
AnnoCPAN, Annotated CPAN documentation
http://annocpan.org/dist/Net-LastFM-Submission
CPAN Ratings
http://cpanratings.perl.org/d/Net-LastFM-Submission
Search CPAN
http://search.cpan.org/dist/Net-LastFM-Submission/
COPYRIGHT AND LICENCE
Copyright (C) 2009 Anatoly Sharifulin
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.