GET showphotos/getAll
Returns a list of show photos
URL:
http://mobileroadie.com/api/showphotos/getAll
Formats
XML, JSON, HTML
HTTP Method(s):
GET
Parameters:
-
api_key
-
Required
-
-
show_id
-
To limit results to a particular show.
-
-
offset
-
For pagination. Default is set to 0.
-
-
limit
-
Limit the number of results returned. Default is 50.
-
-
Direction
-
Default is 'ASC'. Use 'DESC' for descending values by date, 'ASC' for ascending values by date.
-
Usage Example
Code Example
<?php $handle = curl_init("https://mobileroadie.com/api/showphotos/getAll/key/4d4ba30d73b77f7/offset/0/limit/10/direction/asc/format/xml"); curl_setopt($handle, CURLOPT_HTTPAUTH, CURLAUTH_ANY); $response = curl_exec($handle); curl_close($handle); ?>
Example XML Response
<xml> <item> <id>4</id> <show_id>765</show_id> <imgpath>http://dv1.mblrd.com/i/320-480/s/aHR0cDovL21vYmlsZXJvYWRpZS5sb2NhbC9maWxlcy91cGxvYWRzLzk1Lzk1YzNjNTg3MDYzYmVjZjZkZWJjMDk3YjcxNTIwYjM3</imgpath> <created>2009-08-26 19:03:32</created> <caption>test</caption> <width>320</width> <height>480</height> </item> </xml>
Comments
0 comments
Please sign in to leave a comment.