list
get a list of a user’s playlists.
url:
http://www.stereomood.com/api/user/playlists/list.format
formats:
xml, json
requires authentication (about authentication):
true
rate limiting (about rate limiting):
true
parameters:
user_name. the stereomood.com username, if not specified returns the current logged in user’s songs listlimit.an integer used to limit the number of results returned per page. The default is 20 (Max 100).page.the page number to fetch.
sample request:
http://www.stereomood.com/api/user/playlists/list.json?user_name=stereomood or http://www.stereomood.com/api/user/playlists/list.xml?user_name=stereomood
xml sample response:
<?xml version="1.0" encoding="UTF-8"?>
<playlists>
<total>total track number</total>
<page>current page</page>
<limit>current limit</limit>
<total_pages>number of pages</total_pages>
<playlist>
<id>id of the playlist</id>
<title>playlist title</title>
<num_songs>songs num</num_songs>
</playlist>
...
</playlists>
Last edited by Stereomood Tech Team, March 29, 2010
