user.getPlaylists

Returns the list of playlists for the currently authenticated user.

Parameters:

sessid (required) A valid session ID obtained with a call to user.login.
api_key (required) A RockPeaks API key.
page (optional) The page number to fetch. Defaults to 0 (first page).
limit (optional) The number of results to fetch per page. Defaults to 50.

Sample Request:

http://www.rockpeaks.com/services/api?method=user.getPlaylists&api_key=<key>&sessid=2vb23v1kns31554aj2fgllhl81

Sample Response:

<playlists>
  <count>5</count>
  <playlist>
    <id>8797</id>
    <name>Favourites</name>
    <size>0</size>
    <image>http://www.rockpeaks.com/files/eggs/b/Black-Keys-Preservation-Hall-Jazz-Band-and-Dr-John/122555-Black-Keys-Preservation-Hall-Jazz-Band-and-Dr-John-Lonely-Boy-Grammy-Awards-2013.jpg</image>
    <url>http://www.rockpeaks.com/playlist/8797</url>
  </playlist>
  ...    
</playlists>
 
Enter your Rock Peaks username.
Enter the password that accompanies your username.
Forgot Password?
 

Not a Member Yet?

Join

It's Free!