forked from samtayl/lastfm-node-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresponses.txt
100 lines (94 loc) · 3.19 KB
/
responses.txt
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
JSON fields starting with # or @ can only be accessed through ['fieldname']
**************
track.scrobble
**************
{
"scrobbles":{
"@attr":{
"accepted":1,
"ignored":0
},
"scrobble":{
"artist":{
"corrected":"0",
"#text":"Transglobal Underground"
},
"ignoredMessage":{
"code":"0",
"#text":""
},
"albumArtist":{
"corrected":"0",
"#text":""
},
"timestamp":"1581632525",
"album":{
"corrected":"0",
"#text":"International Times"
},
"track":{
"corrected":"0",
"#text":"Lookee Here"
}
}
}
}
Errors
16 : The service is temporarily unavailable, please try again.
2 : Invalid service - This service does not exist
3 : Invalid Method - No method with that name in this package
4 : Authentication Failed - You do not have permissions to access the service
5 : Invalid format - This service doesn't exist in that format
6 : Invalid parameters - Your request is missing a required parameter
7 : Invalid resource specified
8 : Operation failed - Something else went wrong
9 : Invalid session key - Please re-authenticate
10 : Invalid API key - You must be granted a valid key by last.fm
11 : Service Offline - This service is temporarily offline. Try again later.
13 : Invalid method signature supplied
16 : There was a temporary error processing your request. Please try again
26 : Suspended API key - Access for your account has been suspended, please contact Last.fm
29 : Rate limit exceeded - Your IP has made too many requests in a short period
**********************
track.updateNowPlaying
**********************
{
"nowplaying":{
"artist":{
"corrected":"0",
"#text":"The Puppini Sisters"
},
"ignoredMessage":{
"code":"0",
"#text":""
},
"album":{
"corrected":"0",
"#text":""
},
"albumArtist":{
"corrected":"0",
"#text":""
},
"track":{
"corrected":"0",
"#text":"Is This the High Life?"
}
}
}
Errors
16 : The service is temporarily unavailable, please try again.
2 : Invalid service - This service does not exist
3 : Invalid Method - No method with that name in this package
4 : Authentication Failed - You do not have permissions to access the service
5 : Invalid format - This service doesn't exist in that format
6 : Invalid parameters - Your request is missing a required parameter
7 : Invalid resource specified
8 : Operation failed - Something else went wrong
9 : Invalid session key - Please re-authenticate
10 : Invalid API key - You must be granted a valid key by last.fm
11 : Service Offline - This service is temporarily offline. Try again later.
13 : Invalid method signature supplied
16 : There was a temporary error processing your request. Please try again
26 : Suspended API key - Access for your account has been suspended, please contact Last.fm
29 : Rate limit exceeded - Your IP has made too many requests in a short period