GET categories/getAll
Returns a list of categories
URL:
http://mobileroadie.com/api/categories/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/categories/getAll/key/4d4ba30d73b77f7/limit/10/format/xml
Code Example
<?php $handle = curl_init("https://mobileroadie.com/api/categories/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>4646</id> <created>2010-01-20 21:26:49</created> <name>Utah 2010</name> <parent_id>0</parent_id> <row_image>http://i.ytimg.com/vi/zLvoyGLDNQg/hqdefault.jpg</row_image> <featured_image>http://i.ytimg.com/vi/zLvoyGLDNQg/hqdefault.jpg</featured_image> <bg_image>http://i.ytimg.com/vi/zLvoyGLDNQg/hqdefault.jpg</bg_image> <location>main</location> <url>http://www.mobileroadie.com</url> </item> </xml>
Comments
0 comments
Please sign in to leave a comment.