-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
lastfm.json
249 lines (249 loc) · 6.04 KB
/
lastfm.json
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
{
"name": "lastfm",
"description": "Retrieve data from your Last.fm listening history",
"integration_types": [
0,
1
],
"contexts": [
0,
1,
2
],
"options": [
{
"name": "current",
"description": "Display a user's now playing or most recent track",
"type": 1,
"options": [
{
"name": "user",
"description": "The user to retrieve the track for, default you",
"type": 6,
"required": false
}
]
},
{
"name": "albums",
"description": "Get the most listened albums by a user over a given period",
"type": 1,
"options": [
{
"name": "period",
"description": "The period for the most listened albums, default last 7 days",
"type": 3,
"required": false,
"choices": [
{
"name": "Last 7 days",
"value": "7day"
},
{
"name": "Last month (30 days)",
"value": "1month"
},
{
"name": "Last 3 months (90 days)",
"value": "3month"
},
{
"name": "Last 6 months (180 days)",
"value": "6month"
},
{
"name": "Last year (365 days)",
"value": "12month"
},
{
"name": "All time",
"value": "all"
}
]
},
{
"name": "user",
"description": "The user to get the most listened albums for, default you",
"type": 6,
"required": false
}
]
},
{
"name": "artists",
"description": "Get the most listened artists by a user over a given period",
"type": 1,
"options": [
{
"name": "period",
"description": "The period for the most listened artists, default last 7 days",
"type": 3,
"required": false,
"choices": [
{
"name": "Last 7 days",
"value": "7day"
},
{
"name": "Last 30 days",
"value": "1month"
},
{
"name": "Last 90 days",
"value": "3month"
},
{
"name": "Last 180 days",
"value": "6month"
},
{
"name": "Last 365 days",
"value": "12month"
},
{
"name": "All time",
"value": "all"
}
]
},
{
"name": "user",
"description": "The user to get the most listened artists for, default you",
"type": 6,
"required": false
}
]
},
{
"name": "tracks",
"description": "Get the most listened tracks by a user over a given period",
"type": 1,
"options": [
{
"name": "period",
"description": "The period for the most listened tracks, default last 7 days",
"type": 3,
"required": false,
"choices": [
{
"name": "Last 7 days",
"value": "7day"
},
{
"name": "Last 30 days",
"value": "1month"
},
{
"name": "Last 90 days",
"value": "3month"
},
{
"name": "Last 180 days",
"value": "6month"
},
{
"name": "Last 365 days",
"value": "12month"
},
{
"name": "All time",
"value": "all"
}
]
},
{
"name": "user",
"description": "The user to get the most listened tracks for, default you",
"type": 6,
"required": false
}
]
},
{
"name": "collage",
"description": "Display a collage based on a user's Last.fm listening habits.",
"type": 1,
"options": [
{
"name": "period",
"description": "The period of the collage for, default last 7 days",
"type": 3,
"required": false,
"choices": [
{
"name": "Last 7 days",
"value": "7day"
},
{
"name": "Last 30 days",
"value": "1month"
},
{
"name": "Last 90 days",
"value": "3month"
},
{
"name": "Last 180 days",
"value": "6month"
},
{
"name": "Last 365 days",
"value": "12month"
},
{
"name": "All time",
"value": "all"
}
]
},
{
"name": "size",
"description": "The size (number of rows and columns) of the collage for, default 3 by 3",
"type": 4,
"min_value": 3,
"max_value": 5,
"required": false,
"choices": [
{
"name": "3 by 3",
"value": 3
},
{
"name": "4 by 4",
"value": 4
},
{
"name": "5 by 5",
"value": 5
}
]
},
{
"name": "user",
"description": "The user to generate a collage for, default you",
"type": 6,
"required": false
}
]
},
{
"name": "set",
"description": "Register your Last.fm username for use with other Last.fm commands",
"type": 1,
"options": [
{
"name": "username",
"description": "The username of your Last.fm account",
"type": 3,
"required": true
}
]
},
{
"name": "clear",
"description": "Clears your registered Last.fm username from TaylorBot",
"type": 1,
"options": []
}
]
}