GET discography/getAll
Returns a list of discography items
URL:
http://mobileroadie.com/api/discography/getAll
Formats
XML, JSON, HTML
HTTP Method(s):
GET
Parameters:
-
api_key
-
Required
-
-
offset
-
For pagination. Default is set to 0.
-
-
limit
-
Limit the number of results returned. Default is 50.
-
Usage Example
http://mobileroadie.com/api/discography/getAll/key/4d4ba30d73b77f7/limit/10/format/xml
Code Example
<?php $handle = curl_init("https://mobileroadie.com/api/discography/getAll/key/4d4ba30d73b77f7/limit/10/format/xml"); curl_setopt($handle, CURLOPT_HTTPAUTH, CURLAUTH_ANY); $response = curl_exec($handle); curl_close($handle); ?>
Example XML Response
<?xml version="1.0" encoding="utf-8"?> <xml> <item> <id>2351</id> <category_id>0</category_id> <created>2010-03-24 16:09:22</created> <title>Dark Side of the Moon</title> <description>Debut Album</description> <release_year>1973</release_year> <record_label>EMI</record_label> <url_linkshare>itms://itunes.apple.com/us/album/hard-candy/id278674426?t=0&partnerId=30&siteID=fIUNr49qwc8-wWnCsyqDAvqqwpZEqKemug</url_linkshare> <image_url>http://dv1.mblrd.com/i/480-480/c/aHR0cDovL21vYmlsZXJvYWRpZS5jb20vZmlsZXMvdXBsb2Fkcy82Ni82NjUwMmM3MGZjMGM5NWE5ODMyYTdiZjcxNWU3Nzc4Nw,,</image_url> <sequence>0</sequence> </item> </xml>
Comments
0 comments
Please sign in to leave a comment.