stereomood API

songs

get the songs in a user library.


url
:
http://www.stereomood.com/api/user/library/songs.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 list
  • limit. 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/library/songs.json?user_name=stereomood or http://www.stereomood.com/api/user/library/songs.xml?user_name=stereomood


xml sample response
:

<?xml version="1.0" encoding="UTF-8"?>
<library>
  <total>total track number</total>
  <page>current page</page>
  <limit>current limit</limit>
  <total_pages>number of pages</total_pages>
  <songs>
    <song>
         <id>id of the song</id>
         <title>song title</title>
         <artist>song artist</artist>
         <album>song album</album>
         <url>song page url</url>
         <image_url>song image</image_url>
         <audio_url>url of the audio file</audio_url>
         <post_url>url of the blog post</post_url>
    </song>
    ...
  </songs>
</library>

Last edited by Stereomood Tech Team, March 29, 2010

create an application