summaryrefslogtreecommitdiff
path: root/rest/music.rst
blob: 991eb91850c6b591593f6127cc8fa79335055e71 (plain)
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
.. _rest-music:

=====
Music
=====

.. _rest-v1-music-artist:

Artist
======

:Endpoint: /v1/music/artist

Request
-------
.. code:: json

	{
		"token": "R734008"
	}

Response
--------
.. code:: json

  {
    "listenerCount": 11991,
    "isBookmarked": false,
    "discography": [
      {
        "musicId": "L668139",
        "pandoraId": "AL:668139",
        "seoToken": "steve-aoki-louis-tomlinson/just-hold-on-single/ALXVgJnJXrtl9f6",
        "albumTitle": "Just Hold On (Single)",
        "art": [
          {
            "url": "https://mediaserver-cont-dc6-2-v4v6.pandora.com/images/public/int/6/5/6/3/0617465833656_90W_90H.jpg",
            "size": 90
          },
          {
            "url": "https://mediaserver-cont-sv5-2-v4v6.pandora.com/images/public/int/6/5/6/3/0617465833656_130W_130H.jpg",
            "size": 130
          },
          {
            "url": "https://cont-2.p-cdn.com/images/public/int/6/5/6/3/0617465833656_500W_500H.jpg",
            "size": 500
          },
          {
            "url": "https://cont-1.p-cdn.com/images/public/int/6/5/6/3/0617465833656_640W_640H.jpg",
            "size": 640
          },
          {
            "url": "https://cont-1.p-cdn.com/images/public/int/6/5/6/3/0617465833656_1080W_1080H.jpg",
            "size": 1080
          }
        ],
        "year": "2016"
      }
    ],
    "similar": [
      {
        "musicId": "R355704",
        "pandoraId": "AR:355704",
        "name": "One Direction",
        "art": [
          {
            "url": "https://mediaserver-cont-dc6-1-v4v6.pandora.com/images/public/rovi/portrait/2/9/5/6/MN0002766592_200W.jpg",
            "size": 200
          },
          {
            "url": "https://mediaserver-cont-sv5-3-v4v6.pandora.com/images/public/rovi/portrait/2/9/5/6/MN0002766592_640W.jpg",
            "size": 640
          },
          {
            "url": "https://mediaserver-cont-sv5-1-v4v6.pandora.com/images/public/rovi/portrait/2/9/5/6/MN0002766592.jpg",
            "size": 1080
          }
        ],
        "seoToken": "1-direction/ARtp2br9jh6pVX4",
        "detailUrl": "https://www.pandora.com/artist/1-direction/ARtp2br9jh6pVX4"
      }
    ],
    "events": [],
    "musicId": "R734008",
    "pandoraId": "AR:734008",
    "name": "Steve Aoki & Louis Tomlinson",
    "art": [],
    "seoToken": "steve-aoki-louis-tomlinson/ARkmbKd6rz2Xq79",
    "detailUrl": "https://www.pandora.com/artist/steve-aoki-louis-tomlinson/ARkmbKd6rz2Xq79"
  }