GET newscache/getAll
Returns a merged list of cached news items from all available sources
URL:
http://mobileroadie.com/api/newscache/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/newscache/getAll/key/4d4ba30d73b77f7/limit/10/format/xml
Code Example
<?php $handle = curl_init("https://mobileroadie.com/api/newscache/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>17ae8c34b25d53b3aa467027b955fdd1</id> <pub_date>2009-09-01 01:42:00</pub_date> <created>2010-02-28 20:48:16</created> <title>N200_com</title> <type>twitter</type> <twitter_type>official</twitter_type> <image>http://twitteravatar.appspot.com/users/avatar/N200_com</image> <body>N200 introduces target group-based advertising on badges. http://www.n200.eu/en/home/3707/news.html</body> </item> </xml>
Comments
0 comments
Please sign in to leave a comment.