GET shows/getAll
Returns a list of shows
URL:
http://mobileroadie.com/api/shows/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.
-
-
range
-
By default, returns all shows. Setting this to past selects past shows and future selects upcoming shows.
-
Usage Example
http://mobileroadie.com/api/shows/getAll/key/4d4ba30d73b77f7/range/past/limit/10/format/xml
Code Example
<?php $handle = curl_init("https://mobileroadie.com/api/shows/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> <item> <id>1</id> <category_id>0</category_id> <created>2010-01-20 21:22:05</created> <when>2010-01-31 16:00:00</when> <city>Los Angeles</city> <state>CA</state> <country>US</country> <venue>The Wiltern</venue> <address>400 Main St. Los Angele, Ca</address> <description>A big show!</description> <image_url> http://gs3.mblrd.com/i/480-480/s/aHR0cDovL21vYmlsZXJvYWRpZS5jb20vaW1nL2RlZmF1bHQtaW1hZ2UucG5n </image_url> <tickets_url></tickets_url> <latitude>33.995678</latitude> <longitude>-118.477303</longitude> </item> </xml>
Comments
0 comments
Please sign in to leave a comment.