pub struct GetPlaylistResponse {
pub items: Vec<PlaylistEntry>,
}Expand description
| Name | Type | Description | | items.additionalAudioUrl | array/string | List of additional audio urls in the requested order or single string if only one format was requested | | items.songRating | int | 1 if song was given a thumbs up, 0 if song was not rated yet | | items.audioUrlMap | object | Song audio format and bitrates returned differ based on what partner credentials are used. |
{
"stat": "ok",
"result": {
"items": [{
"trackToken": "40b892bc5376e695c2e5c2b347227b85af2761b6aa417f736d9a79319b8f4cb97c9695a5f9a9a32aa2abaed43571235c",
"artistName": "Cannabich, Christian",
"albumName": "London Mozart Players, Christian Cannabich: Symphonies",
"amazonAlbumUrl": "http://www.amazon.com/dp/B000GW8ATU/?tag=wwwpandoracom-20",
"songExplorerUrl": "http://www.pandora.com/xml/music/song/london-mozart-players/christian-cannabich-symphonies/2-andantino?explicit=false",
"albumArtUrl": "http://cont-sv5-2.pandora.com/images/public/amz/5/2/9/7/095115137925_500W_488H.jpg",
"artistDetailUrl": "http://www.pandora.com/christian-cannabich?...",
"audioUrlMap": {
"highQuality": {
"bitrate": "64",
"encoding": "aacplus",
"audioUrl": "http://audio-sjl-t1-2.pandora.com/access/166132182435087962.mp4?...",
"protocol": "http"
},
"mediumQuality": {
"bitrate": "64",
"encoding": "aacplus",
"audioUrl": "http://t1-2.cdn.pandora.com/access/4127124196771074419.mp4?...",
"protocol": "http"
},
"lowQuality": {
"bitrate": "32",
"encoding": "aacplus",
"audioUrl": "http://audio-sv5-t1-1.pandora.com/access/3464788359714661029.mp4?...",
"protocol": "http"
}
},
"itunesSongUrl": "http://click.linksynergy.com/fs-bin/stat?...",
"additionalAudioUrl": [
"http://t1-2.cdn.pandora.com/access/6705986462049243054.mp4?...",
"http://audio-sjl-t1-1.pandora.com/access/2473529637452270302.mp4?..."
],
"amazonAlbumAsin": "B000GW8ATU",
"amazonAlbumDigitalAsin": "B003H37NN4",
"artistExplorerUrl": "http://www.pandora.com/xml/music/composer/christian-cannabich?explicit=false",
"songName": "Symphony In G Major",
"albumDetailUrl": "http://www.pandora.com/london-mozart-players/christian-cannabich-symphonies?...",
"songDetailUrl": "http://www.pandora.com/london-mozart-players/christian-cannabich-symphonies/2-andantino?...",
"stationId": "121193154444133035",
"songRating": 0,
"trackGain": "10.09",
"albumExplorerUrl": "http://www.pandora.com/xml/music/album/london-mozart-players/christian-cannabich-symphonies?explicit=false",
"allowFeedback": true,
"amazonSongDigitalAsin": "B003H39AGW",
"nowPlayingStationAdUrl": "http://ad.doubleclick.net/pfadx/pand.android/prod.nowplaying..."
}, {
"adToken": "121193154444133035-none"
},
]
}
}Fields§
§items: Vec<PlaylistEntry>Contains a list of playlist entries, each being either a song/track or an ad.
Trait Implementations§
Source§impl Clone for GetPlaylistResponse
impl Clone for GetPlaylistResponse
Source§fn clone(&self) -> GetPlaylistResponse
fn clone(&self) -> GetPlaylistResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetPlaylistResponse
impl Debug for GetPlaylistResponse
Source§impl<'de> Deserialize<'de> for GetPlaylistResponse
impl<'de> Deserialize<'de> for GetPlaylistResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GetPlaylistResponse
impl RefUnwindSafe for GetPlaylistResponse
impl Send for GetPlaylistResponse
impl Sync for GetPlaylistResponse
impl Unpin for GetPlaylistResponse
impl UnwindSafe for GetPlaylistResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more