-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathapi.json
3654 lines (3654 loc) · 157 KB
/
api.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
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"__generated__": "2014-06-06T16:22:22.687901Z",
"album": {
"addTags": {
"auth": true,
"description": "Tag an album using a list of user supplied tags.",
"documentation": "http://www.last.fm/api/show/album.addTags",
"http": "POST",
"params": {
"album": {
"boolean": false,
"description": "(Required) : The album name",
"multiple": false,
"required": true
},
"artist": {
"boolean": false,
"description": "(Required) : The artist name",
"multiple": false,
"required": true
},
"tags": {
"boolean": false,
"description": "(Required) : A comma delimited list of user supplied tags to apply to this album. Accepts a maximum of 10 tags.",
"multiple": false,
"required": true
}
}
},
"getBuylinks": {
"auth": false,
"description": "Get a list of Buy Links for a particular Album. It is required that you supply either the artist and track params or the mbid param.",
"documentation": "http://www.last.fm/api/show/album.getBuylinks",
"http": "GET",
"params": {
"album": {
"boolean": false,
"description": "(Required (unless mbid)] : The album",
"multiple": false,
"required": true
},
"artist": {
"boolean": false,
"description": "(Required (unless mbid)] : The artist name",
"multiple": false,
"required": true
},
"autocorrect": {
"boolean": true,
"description": "[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead. The corrected artist name will be returned in the response.",
"multiple": false,
"required": false
},
"country": {
"boolean": false,
"description": "(Required) : A country name or two character country code, as defined by the ISO 3166-1 country names standard.",
"multiple": false,
"required": true
},
"mbid": {
"boolean": false,
"description": "(Optional) : The musicbrainz id for the album",
"multiple": false,
"required": false
}
}
},
"getInfo": {
"auth": false,
"description": "Get the metadata and tracklist for an album on Last.fm using the album name or a musicbrainz id.",
"documentation": "http://www.last.fm/api/show/album.getInfo",
"http": "GET",
"params": {
"album": {
"boolean": false,
"description": "(Required (unless mbid)] : The album name",
"multiple": false,
"required": true
},
"artist": {
"boolean": false,
"description": "(Required (unless mbid)] : The artist name",
"multiple": false,
"required": true
},
"autocorrect": {
"boolean": true,
"description": "[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead. The corrected artist name will be returned in the response.",
"multiple": false,
"required": false
},
"lang": {
"boolean": false,
"description": "(Optional) : The language to return the biography in, expressed as an ISO 639 alpha-2 code.",
"multiple": false,
"required": false
},
"mbid": {
"boolean": false,
"description": "(Optional) : The musicbrainz id for the album",
"multiple": false,
"required": false
},
"username": {
"boolean": false,
"description": "(Optional) : The username for the context of the request. If supplied, the user's playcount for this album is included in the response.",
"multiple": false,
"required": false
}
}
},
"getShouts": {
"auth": false,
"description": "Get shouts for this album. Also available as an rss feed.",
"documentation": "http://www.last.fm/api/show/album.getShouts",
"http": "GET",
"params": {
"artist": {
"boolean": false,
"description": "(Required (unless mbid)] : The artist name",
"multiple": false,
"required": true
},
"autocorrect": {
"boolean": true,
"description": "[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead. The corrected artist name will be returned in the response.",
"multiple": false,
"required": false
},
"limit": {
"boolean": false,
"description": "(Optional) : The number of results to fetch per page. Defaults to 50.",
"multiple": false,
"required": false
},
"mbid": {
"boolean": false,
"description": "(Optional) : The musicbrainz id for the artist",
"multiple": false,
"required": false
},
"page": {
"boolean": false,
"description": "(Optional) : The page number to fetch. Defaults to first page.",
"multiple": false,
"required": false
}
}
},
"getTags": {
"auth": false,
"description": "Get the tags applied by an individual user to an album on Last.fm. To retrieve the list of top tags applied to an album by all users use album.getTopTags.",
"documentation": "http://www.last.fm/api/show/album.getTags",
"http": "GET",
"params": {
"album": {
"boolean": false,
"description": "(Required (unless mbid)] : The album name",
"multiple": false,
"required": true
},
"artist": {
"boolean": false,
"description": "(Required (unless mbid)] : The artist name",
"multiple": false,
"required": true
},
"autocorrect": {
"boolean": true,
"description": "[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead. The corrected artist name will be returned in the response.",
"multiple": false,
"required": false
},
"mbid": {
"boolean": false,
"description": "(Optional) : The musicbrainz id for the album",
"multiple": false,
"required": false
},
"user": {
"boolean": false,
"description": "(Optional) : If called in non-authenticated mode you must specify the user to look up",
"multiple": false,
"required": false
}
}
},
"getTopTags": {
"auth": false,
"description": "Get the top tags for an album on Last.fm, ordered by popularity.",
"documentation": "http://www.last.fm/api/show/album.getTopTags",
"http": "GET",
"params": {
"album": {
"boolean": false,
"description": "(Required (unless mbid)] : The album name",
"multiple": false,
"required": true
},
"artist": {
"boolean": false,
"description": "(Required (unless mbid)] : The artist name",
"multiple": false,
"required": true
},
"autocorrect": {
"boolean": true,
"description": "[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead. The corrected artist name will be returned in the response.",
"multiple": false,
"required": false
},
"mbid": {
"boolean": false,
"description": "(Optional) : The musicbrainz id for the album",
"multiple": false,
"required": false
}
}
},
"removeTag": {
"auth": true,
"description": "Remove a user's tag from an album.",
"documentation": "http://www.last.fm/api/show/album.removeTag",
"http": "POST",
"params": {
"album": {
"boolean": false,
"description": "(Required) : The album name",
"multiple": false,
"required": true
},
"artist": {
"boolean": false,
"description": "(Required) : The artist name",
"multiple": false,
"required": true
},
"tag": {
"boolean": false,
"description": "(Required) : A single user tag to remove from this album.",
"multiple": false,
"required": true
}
}
},
"search": {
"auth": false,
"description": "Search for an album by name. Returns album matches sorted by relevance.",
"documentation": "http://www.last.fm/api/show/album.search",
"http": "GET",
"params": {
"album": {
"boolean": false,
"description": "(Required) : The album name",
"multiple": false,
"required": true
},
"limit": {
"boolean": false,
"description": "(Optional) : The number of results to fetch per page. Defaults to 30.",
"multiple": false,
"required": false
},
"page": {
"boolean": false,
"description": "(Optional) : The page number to fetch. Defaults to first page.",
"multiple": false,
"required": false
}
}
},
"share": {
"auth": true,
"description": "Share an album with one or more Last.fm users or other friends.",
"documentation": "http://www.last.fm/api/show/album.share",
"http": "POST",
"params": {
"album": {
"boolean": false,
"description": "(Required) : An album name.",
"multiple": false,
"required": true
},
"artist": {
"boolean": false,
"description": "(Required) : An artist name.",
"multiple": false,
"required": true
},
"message": {
"boolean": false,
"description": "(Optional): An optional message to send with the recommendation. If not supplied a default message will be used.",
"multiple": false,
"required": false
},
"public": {
"boolean": false,
"description": "(Optional): Optionally show in the sharing users activity feed. Defaults to 0 (false).",
"multiple": false,
"required": false
},
"recipient": {
"boolean": false,
"description": "(Required): Email Address | Last.fm Username - A comma delimited list of email addresses or Last.fm usernames. Maximum is 10.",
"multiple": false,
"required": true
}
}
}
},
"artist": {
"addTags": {
"auth": true,
"description": "Tag an artist with one or more user supplied tags.",
"documentation": "http://www.last.fm/api/show/artist.addTags",
"http": "POST",
"params": {
"artist": {
"boolean": false,
"description": "(Required) : The artist name",
"multiple": false,
"required": true
},
"tags": {
"boolean": false,
"description": "(Required) : A comma delimited list of user supplied tags to apply to this artist. Accepts a maximum of 10 tags.",
"multiple": false,
"required": true
}
}
},
"getCorrection": {
"auth": false,
"description": "Use the last.fm corrections data to check whether the supplied artist has a correction to a canonical artist",
"documentation": "http://www.last.fm/api/show/artist.getCorrection",
"http": "GET",
"params": {
"artist": {
"boolean": false,
"description": "(Required) : The artist name to correct.",
"multiple": false,
"required": true
}
}
},
"getEvents": {
"auth": false,
"description": "Get a list of upcoming events for this artist. Easily integratable into calendars, using the ical standard (see feeds section below).",
"documentation": "http://www.last.fm/api/show/artist.getEvents",
"http": "GET",
"params": {
"artist": {
"boolean": false,
"description": "(Required (unless mbid)] : The artist name",
"multiple": false,
"required": true
},
"autocorrect": {
"boolean": true,
"description": "[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead. The corrected artist name will be returned in the response.",
"multiple": false,
"required": false
},
"festivalsonly": {
"boolean": true,
"description": "[0|1] (Optional) : Whether only festivals should be returned, or all events.",
"multiple": false,
"required": false
},
"limit": {
"boolean": false,
"description": "(Optional) : The number of results to fetch per page. Defaults to 50.",
"multiple": false,
"required": false
},
"mbid": {
"boolean": false,
"description": "(Optional) : The musicbrainz id for the artist",
"multiple": false,
"required": false
},
"page": {
"boolean": false,
"description": "(Optiona) : The page number to fetch. Defaults to first page.",
"multiple": false,
"required": false
}
}
},
"getInfo": {
"auth": false,
"description": "Get the metadata for an artist. Includes biography, truncated at 300 characters.",
"documentation": "http://www.last.fm/api/show/artist.getInfo",
"http": "GET",
"params": {
"artist": {
"boolean": false,
"description": "(Required (unless mbid)] : The artist name",
"multiple": false,
"required": true
},
"autocorrect": {
"boolean": true,
"description": "[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead. The corrected artist name will be returned in the response.",
"multiple": false,
"required": false
},
"lang": {
"boolean": false,
"description": "(Optional) : The language to return the biography in, expressed as an ISO 639 alpha-2 code.",
"multiple": false,
"required": false
},
"mbid": {
"boolean": false,
"description": "(Optional) : The musicbrainz id for the artist",
"multiple": false,
"required": false
},
"username": {
"boolean": false,
"description": "(Optional) : The username for the context of the request. If supplied, the user's playcount for this artist is included in the response.",
"multiple": false,
"required": false
}
}
},
"getPastEvents": {
"auth": false,
"description": "Get a paginated list of all the events this artist has played at in the past.",
"documentation": "http://www.last.fm/api/show/artist.getPastEvents",
"http": "GET",
"params": {
"artist": {
"boolean": false,
"description": "(Required (unless mbid)] :The name of the artist you would like to fetch event listings for.",
"multiple": false,
"required": true
},
"autocorrect": {
"boolean": true,
"description": "[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead. The corrected artist name will be returned in the response.",
"multiple": false,
"required": false
},
"limit": {
"boolean": false,
"description": "(Optional) : The number of results to fetch per page. Defaults to 50.",
"multiple": false,
"required": false
},
"mbid": {
"boolean": false,
"description": "(Optional) : The musicbrainz id for the artist",
"multiple": false,
"required": false
},
"page": {
"boolean": false,
"description": "(Optional) :The page of results to return.",
"multiple": false,
"required": false
}
}
},
"getPodcast": {
"auth": false,
"description": "Get a podcast of free mp3s based on an artist",
"documentation": "http://www.last.fm/api/show/artist.getPodcast",
"http": "GET",
"params": {
"artist": {
"boolean": false,
"description": "(Required (unless mbid)] : The artist name",
"multiple": false,
"required": true
},
"autocorrect": {
"boolean": true,
"description": "[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead. The corrected artist name will be returned in the response.",
"multiple": false,
"required": false
},
"mbid": {
"boolean": false,
"description": "(Optional) : The musicbrainz id for the artist",
"multiple": false,
"required": false
}
}
},
"getShouts": {
"auth": false,
"description": "Get shouts for this artist. Also available as an rss feed.",
"documentation": "http://www.last.fm/api/show/artist.getShouts",
"http": "GET",
"params": {
"artist": {
"boolean": false,
"description": "(Required (unless mbid)] : The artist name",
"multiple": false,
"required": true
},
"autocorrect": {
"boolean": true,
"description": "[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead. The corrected artist name will be returned in the response.",
"multiple": false,
"required": false
},
"limit": {
"boolean": false,
"description": "(Optional) : The number of results to fetch per page. Defaults to 50.",
"multiple": false,
"required": false
},
"mbid": {
"boolean": false,
"description": "(Optional) : The musicbrainz id for the artist",
"multiple": false,
"required": false
},
"page": {
"boolean": false,
"description": "(Optional) : The page number to fetch. Defaults to first page.",
"multiple": false,
"required": false
}
}
},
"getSimilar": {
"auth": false,
"description": "Get all the artists similar to this artist",
"documentation": "http://www.last.fm/api/show/artist.getSimilar",
"http": "GET",
"params": {
"artist": {
"boolean": false,
"description": "(Required (unless mbid)] : The artist name",
"multiple": false,
"required": true
},
"autocorrect": {
"boolean": true,
"description": "[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead. The corrected artist name will be returned in the response.",
"multiple": false,
"required": false
},
"limit": {
"boolean": false,
"description": "(Optional) : Limit the number of similar artists returned",
"multiple": false,
"required": false
},
"mbid": {
"boolean": false,
"description": "(Optional) : The musicbrainz id for the artist",
"multiple": false,
"required": false
}
}
},
"getTags": {
"auth": false,
"description": "Get the tags applied by an individual user to an artist on Last.fm. If accessed as an authenticated service /and/ you don't supply a user parameter then this service will return tags for the authenticated user. To retrieve the list of top tags applied to an artist by all users use artist.getTopTags.",
"documentation": "http://www.last.fm/api/show/artist.getTags",
"http": "GET",
"params": {
"artist": {
"boolean": false,
"description": "(Required (unless mbid)] : The artist name",
"multiple": false,
"required": true
},
"autocorrect": {
"boolean": true,
"description": "[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead. The corrected artist name will be returned in the response.",
"multiple": false,
"required": false
},
"mbid": {
"boolean": false,
"description": "(Optional) : The musicbrainz id for the artist",
"multiple": false,
"required": false
},
"user": {
"boolean": false,
"description": "(Optional) : If called in non-authenticated mode you must specify the user to look up",
"multiple": false,
"required": false
}
}
},
"getTopAlbums": {
"auth": false,
"description": "Get the top albums for an artist on Last.fm, ordered by popularity.",
"documentation": "http://www.last.fm/api/show/artist.getTopAlbums",
"http": "GET",
"params": {
"artist": {
"boolean": false,
"description": "(Required (unless mbid)] : The artist name",
"multiple": false,
"required": true
},
"autocorrect": {
"boolean": true,
"description": "[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead. The corrected artist name will be returned in the response.",
"multiple": false,
"required": false
},
"limit": {
"boolean": false,
"description": "(Optional) : The number of results to fetch per page. Defaults to 50.",
"multiple": false,
"required": false
},
"mbid": {
"boolean": false,
"description": "(Optional) : The musicbrainz id for the artist",
"multiple": false,
"required": false
},
"page": {
"boolean": false,
"description": "(Optional) : The page number to fetch. Defaults to first page.",
"multiple": false,
"required": false
}
}
},
"getTopFans": {
"auth": false,
"description": "Get the top fans for an artist on Last.fm, based on listening data.",
"documentation": "http://www.last.fm/api/show/artist.getTopFans",
"http": "GET",
"params": {
"artist": {
"boolean": false,
"description": "(Required (unless mbid)] : The artist name",
"multiple": false,
"required": true
},
"autocorrect": {
"boolean": true,
"description": "[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead. The corrected artist name will be returned in the response.",
"multiple": false,
"required": false
},
"mbid": {
"boolean": false,
"description": "(Optional) : The musicbrainz id for the artist",
"multiple": false,
"required": false
}
}
},
"getTopTags": {
"auth": false,
"description": "Get the top tags for an artist on Last.fm, ordered by popularity.",
"documentation": "http://www.last.fm/api/show/artist.getTopTags",
"http": "GET",
"params": {
"artist": {
"boolean": false,
"description": "(Required (unless mbid)] : The artist name",
"multiple": false,
"required": true
},
"autocorrect": {
"boolean": true,
"description": "[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead. The corrected artist name will be returned in the response.",
"multiple": false,
"required": false
},
"mbid": {
"boolean": false,
"description": "(Optional) : The musicbrainz id for the artist",
"multiple": false,
"required": false
}
}
},
"getTopTracks": {
"auth": false,
"description": "Get the top tracks by an artist on Last.fm, ordered by popularity",
"documentation": "http://www.last.fm/api/show/artist.getTopTracks",
"http": "GET",
"params": {
"artist": {
"boolean": false,
"description": "(Required (unless mbid)] : The artist name",
"multiple": false,
"required": true
},
"autocorrect": {
"boolean": true,
"description": "[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead. The corrected artist name will be returned in the response.",
"multiple": false,
"required": false
},
"limit": {
"boolean": false,
"description": "(Optional) : The number of results to fetch per page. Defaults to 50.",
"multiple": false,
"required": false
},
"mbid": {
"boolean": false,
"description": "(Optional) : The musicbrainz id for the artist",
"multiple": false,
"required": false
},
"page": {
"boolean": false,
"description": "(Optional) : The page number to fetch. Defaults to first page.",
"multiple": false,
"required": false
}
}
},
"removeTag": {
"auth": true,
"description": "Remove a user's tag from an artist.",
"documentation": "http://www.last.fm/api/show/artist.removeTag",
"http": "POST",
"params": {
"artist": {
"boolean": false,
"description": "(Required) : The artist name",
"multiple": false,
"required": true
},
"tag": {
"boolean": false,
"description": "(Required) : A single user tag to remove from this artist.",
"multiple": false,
"required": true
}
}
},
"search": {
"auth": false,
"description": "Search for an artist by name. Returns artist matches sorted by relevance.",
"documentation": "http://www.last.fm/api/show/artist.search",
"http": "GET",
"params": {
"artist": {
"boolean": false,
"description": "(Required) : The artist name",
"multiple": false,
"required": true
},
"limit": {
"boolean": false,
"description": "(Optional) : The number of results to fetch per page. Defaults to 30.",
"multiple": false,
"required": false
},
"page": {
"boolean": false,
"description": "(Optional) : The page number to fetch. Defaults to first page.",
"multiple": false,
"required": false
}
}
},
"share": {
"auth": true,
"description": "Share an artist with Last.fm users or other friends.",
"documentation": "http://www.last.fm/api/show/artist.share",
"http": "POST",
"params": {
"artist": {
"boolean": false,
"description": "(Required) : The artist to share.",
"multiple": false,
"required": true
},
"message": {
"boolean": false,
"description": "(Optional): An optional message to send with the recommendation. If not supplied a default message will be used.",
"multiple": false,
"required": false
},
"public": {
"boolean": false,
"description": "(Optional): Optionally show in the sharing users activity feed. Defaults to 0 (false).",
"multiple": false,
"required": false
},
"recipient": {
"boolean": false,
"description": "(Required): Email Address | Last.fm Username - A comma delimited list of email addresses or Last.fm usernames. Maximum is 10.",
"multiple": false,
"required": true
}
}
},
"shout": {
"auth": true,
"description": "Shout in this artist's shoutbox",
"documentation": "http://www.last.fm/api/show/artist.shout",
"http": "POST",
"params": {
"artist": {
"boolean": false,
"description": "(Required) : The name of the artist to shout on.",
"multiple": false,
"required": true
},
"message": {
"boolean": false,
"description": "(Required) : The message to post to the shoutbox.",
"multiple": false,
"required": true
}
}
}
},
"auth": {
"getMobileSession": {
"auth": false,
"description": "Create a web service session for a user. Used for authenticating a user when the password can be inputted by the user. Accepts email address as well, so please use the username supplied in the output. Only suitable for standalone mobile devices. See the authentication how-to for more. You must use HTTPS and POST in order to use this method.",
"documentation": "http://www.last.fm/api/show/auth.getMobileSession",
"http": "GET",
"params": {
"password": {
"boolean": false,
"description": "(Required) : The password in plain text.",
"multiple": false,
"required": true
},
"username": {
"boolean": false,
"description": "(Required) : The last.fm username or email address.",
"multiple": false,
"required": true
}
}
},
"getSession": {
"auth": false,
"description": "Fetch a session key for a user. The third step in the authentication process. See the authentication how-to for more information.",
"documentation": "http://www.last.fm/api/show/auth.getSession",
"http": "GET",
"params": {
"token": {
"boolean": false,
"description": "(Required) : A 32-character ASCII hexadecimal MD5 hash returned by step 1 of the authentication process (following the granting of permissions to the application by the user)",
"multiple": false,
"required": true
}
}
},
"getToken": {
"auth": false,
"description": "Fetch an unathorized request token for an API account. This is step 2 of the authentication process for desktop applications. Web applications do not need to use this service.",
"documentation": "http://www.last.fm/api/show/auth.getToken",
"http": "GET",
"params": {}
}
},
"chart": {
"getHypedArtists": {
"auth": false,
"description": "Get the hyped artists chart",
"documentation": "http://www.last.fm/api/show/chart.getHypedArtists",
"http": "GET",
"params": {
"limit": {
"boolean": false,
"description": "(Optional) : The number of results to fetch per page. Defaults to 50.",
"multiple": false,
"required": false
},
"page": {
"boolean": false,
"description": "(Optional) : The page number to fetch. Defaults to first page.",
"multiple": false,
"required": false
}
}
},
"getHypedTracks": {
"auth": false,
"description": "Get the top artists chart",
"documentation": "http://www.last.fm/api/show/chart.getHypedTracks",
"http": "GET",
"params": {
"limit": {
"boolean": false,
"description": "(Optional) : The number of results to fetch per page. Defaults to 50.",
"multiple": false,
"required": false
},
"page": {
"boolean": false,
"description": "(Optional) : The page number to fetch. Defaults to first page.",
"multiple": false,
"required": false
}
}
},
"getLovedTracks": {
"auth": false,
"description": "Get the most loved tracks chart",
"documentation": "http://www.last.fm/api/show/chart.getLovedTracks",
"http": "GET",
"params": {
"limit": {
"boolean": false,
"description": "(Optional) : The number of results to fetch per page. Defaults to 50.",
"multiple": false,
"required": false
},
"page": {
"boolean": false,
"description": "(Optional) : The page number to fetch. Defaults to first page.",
"multiple": false,
"required": false
}
}
},
"getTopArtists": {
"auth": false,
"description": "Get the top artists chart",
"documentation": "http://www.last.fm/api/show/chart.getTopArtists",
"http": "GET",
"params": {
"limit": {
"boolean": false,
"description": "(Optional) : The number of results to fetch per page. Defaults to 50.",
"multiple": false,
"required": false
},
"page": {
"boolean": false,
"description": "(Optional) : The page number to fetch. Defaults to first page.",
"multiple": false,
"required": false
}
}
},
"getTopTags": {
"auth": false,
"description": "Get the top artists chart",
"documentation": "http://www.last.fm/api/show/chart.getTopTags",
"http": "GET",
"params": {
"limit": {
"boolean": false,
"description": "(Optional) : The number of results to fetch per page. Defaults to 50.",
"multiple": false,
"required": false
},
"page": {
"boolean": false,
"description": "(Optional) : The page number to fetch. Defaults to first page.",
"multiple": false,
"required": false
}
}
},
"getTopTracks": {
"auth": false,
"description": "Get the top tracks chart",
"documentation": "http://www.last.fm/api/show/chart.getTopTracks",
"http": "GET",
"params": {
"limit": {
"boolean": false,
"description": "(Optional) : The number of results to fetch per page. Defaults to 50.",
"multiple": false,
"required": false
},
"page": {
"boolean": false,
"description": "(Optional) : The page number to fetch. Defaults to first page.",
"multiple": false,
"required": false
}
}
}
},
"event": {
"attend": {
"auth": true,
"description": "Set a user's attendance status for an event.",
"documentation": "http://www.last.fm/api/show/event.attend",
"http": "POST",
"params": {
"event": {
"boolean": false,
"description": "(Required) : The numeric last.fm event id",
"multiple": false,
"required": true
},
"status": {
"boolean": false,