GET comments/getCount
Returns a count of comments for each type.
URL:
http://mobileroadie.com/api/comments/getCount
Formats
XML, JSON, HTML
HTTP Method(s):
GET
Parameters:
-
api_key
-
Required
-
Usage Example
http://mobileroadie.com/api/comments/getCount/key/4d4ba30d73b77f7
Code Example
<?php $handle = curl_init("https://mobileroadie.com/api/comments/getCount/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> <name>buzz</name> <comments>3</comments> </item> <item> <name>fanwall</name> <comments>80</comments> </item> <item> <name>item</name> <comments>2</comments> </item> <item> <name>music</name> <comments>97</comments> </item> <item> <name>official</name> <comments>34</comments> </item> <item> <name>photos</name> <comments>9</comments> </item> <item> <name>show</name> <comments>23</comments> </item> <item> <name>showphotos</name> <comments>1</comments> </item> <item> <name>twitter</name> <comments>4</comments> </item> <item> <name>video</name> <comments>9</comments> </item> </xml>
Comments
0 comments
Please sign in to leave a comment.