summaryrefslogtreecommitdiff
path: root/rest/search.rst
blob: f97888853bf00f0a448b8a51b78261c9dd26ea34 (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
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
.. _rest-search:

======
Search
======

.. _rest-v1-search-getStationRecommendations:

Get Station Recommendations
===========================

:Endpoint: /v1/search/getStationRecommendations

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

  {}

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

  {
    "artists": [
      {
        "name": "Halsey",
        "musicId": "R450147",
        "pandoraId": "AR:450147",
        "detailUrl": "https://www.pandora.com/artist/halsey/ARVjV9gbVJ7cjxq",
        "art": [
          {
            "url": "https://mediaserver-cont-sv5-2-v4v6.pandora.com/images/public/int/8/7/5/8/00602557708578_90W_90H.jpg",
            "size": 90
          },
          {
            "url": "https://mediaserver-cont-dc6-2-v4v6.pandora.com/images/public/int/8/7/5/8/00602557708578_130W_130H.jpg",
            "size": 130
          },
          {
            "url": "https://mediaserver-cont-sv5-3-v4v6.pandora.com/images/public/int/8/7/5/8/00602557708578_500W_500H.jpg",
            "size": 500
          },
          {
            "url": "https://mediaserver-cont-dc6-2-v4v6.pandora.com/images/public/int/8/7/5/8/00602557708578_640W_640H.jpg",
            "size": 640
          },
          {
            "url": "https://mediaserver-cont-ch1-2-v4v6.pandora.com/images/public/int/8/7/5/8/00602557708578_1080W_1080H.jpg",
            "size": 1080
          }
        ],
        "likelyMatch": false,
        "isComposer": false,
        "isComedy": false,
        "listenerCount": 2660756
      }
    ],
    "genreStations": [
      {
        "name": "Dance Pop",
        "token": "dance-pop",
        "musicId": "G540",
        "pandoraId": "GE:540",
        "description": "Dance Pop features all the biggest hits and remixes from today's biggest stars, plus dance favorites you know and love. Check it out when you need a burst of energy!",
        "art": [
          {
            "url": "https://mediaserver-cont-dc6-2-v4v6.pandora.com/images/public/int/8/8/1/7/800027188_90W_90H.jpg",
            "size": 90
          },
          {
            "url": "https://cont-1.p-cdn.com/images/public/int/8/8/1/7/800027188_130W_130H.jpg",
            "size": 130
          },
          {
            "url": "https://mediaserver-cont-sv5-2-v4v6.pandora.com/images/public/int/8/8/1/7/800027188_500W_500H.jpg",
            "size": 500
          },
          {
            "url": "https://cont-2.p-cdn.com/images/public/int/8/8/1/7/800027188_640W_640H.jpg",
            "size": 640
          },
          {
            "url": "https://cont-2.p-cdn.com/images/public/int/8/8/1/7/800027188_1080W_1080H.jpg",
            "size": 1080
          }
        ],
        "headerArt": [
          {
            "url": "https://mediaserver-cont-dc6-2-v4v6.pandora.com/images/public/composite/genre_station_headers/5/4/0/genre_station_header_640x480_G540.jpg",
            "size": 640
          }
        ],
        "listenerCount": 6810051,
        "score": 100,
        "isRedirect": false,
        "isComedy": false,
        "sampleTracks": [
          {
            "musicId": "S2178312",
            "pandoraId": "TR:2178312",
            "songTitle": "S&M",
            "albumTitle": "Loud (Explicit)",
            "artistName": "Rihanna",
            "artistSeoToken": "rihanna/ARZP3bqJrVgXfp4",
            "artistDetailUrl": "https://www.pandora.com/artist/rihanna/ARZP3bqJrVgXfp4",
            "trackSeoToken": "rihanna/loud-explicit/s-m/TRvc2f7v79JzJgK",
            "trackDetailUrl": "https://www.pandora.com/artist/rihanna/loud-explicit/s-m/TRvc2f7v79JzJgK",
            "albumSeoToken": "rihanna/loud-explicit/ALpt5747bcZjxX4",
            "sampleUrl": "https://audio-ssl.itunes.apple.com/apple-assets-us-std-000001/Music/cd/fd/79/mzm.mewznlkh.aac.p.m4a",
            "amazonUrl": "https://www.amazon.com/gp/search/?index=music&field-artist=Rihanna&field-title=Loud+%28Explicit%29&tag=wwwpandoracom-20",
            "amazonDigitalAsin": "B005I0BR7C",
            "albumAmazonDigitalAsin": "B005I0BR0E",
            "itunesUrl": "http://itunes.apple.com/album/s-m/id417296814?i=417296825&uo=5&at=11l3Hh&app=itunes",
            "trackNum": 1,
            "discNum": 1,
            "trackLength": 243,
            "albumArt": [
              {
                "url": "https://mediaserver-cont-dc6-2-v4v6.pandora.com/images/public/int/8/8/1/7/800027188_90W_90H.jpg",
                "size": 90
              },
              {
                "url": "https://mediaserver-cont-sv5-3-v4v6.pandora.com/images/public/int/8/8/1/7/800027188_130W_130H.jpg",
                "size": 130
              },
              {
                "url": "https://mediaserver-cont-sv5-1-v4v6.pandora.com/images/public/int/8/8/1/7/800027188_500W_500H.jpg",
                "size": 500
              },
              {
                "url": "https://mediaserver-cont-sv5-1-v4v6.pandora.com/images/public/int/8/8/1/7/800027188_640W_640H.jpg",
                "size": 640
              },
              {
                "url": "https://cont-1.p-cdn.com/images/public/int/8/8/1/7/800027188_1080W_1080H.jpg",
                "size": 1080
              }
            ]
          }
        ],
        "sampleTracksPandoraId": "SS:18245:540",
        "sampleArtists": [
          {
            "musicId": "R169185",
            "pandoraId": "AR:169185",
            "name": "Rihanna",
            "art": [
              {
                "url": "https://cont-2.p-cdn.com/images/public/rovi/portrait/8/8/1/7/MN0000367188_200W.jpg",
                "size": 200
              },
              {
                "url": "https://mediaserver-cont-ch1-1-v4v6.pandora.com/images/public/rovi/portrait/8/8/1/7/MN0000367188_640W.jpg",
                "size": 640
              },
              {
                "url": "https://cont-2.p-cdn.com/images/public/rovi/portrait/8/8/1/7/MN0000367188.jpg",
                "size": 1080
              }
            ],
            "seoToken": "rihanna/ARZP3bqJrVgXfp4",
            "detailUrl": "https://www.pandora.com/artist/rihanna/ARZP3bqJrVgXfp4"
          }
        ]
      }
    ]
  }