Skip to main content

news/all

Retrieve all News.

Arguments:

  • api_key (required)
  • per_page (optional - default 10)
  • page (optional - default 1)

Example request:

http://[domain]/api/news/all.xml?api_key=[api_key]

Example response:

<?xml version="1.0" encoding="utf-8"?>
<newsItems page="1" pages="1" per_page="10" total="4">
<news id="2">
<title>3D printed moon building designs revealed</title>
<summary>The architects behind ...</summary>
<content><![CDATA[<p>An inflatable structure...]]></content>
<imageURL></imageURL>
<newsDate>1359729360</newsDate>
<categories>
<category id="20000" name="Category One"/>
</categories>
</news>
<news id="3">
<title>British army stages record-breaking virtual battle</title>
<summary>The British army has...</summary>
<content><![CDATA[<p>The experiment was carried out...]]></content>
<imageURL></imageURL>
<newsDate>1359729420</newsDate>
<categories>
<category id="20001" name="Category Two"/>
</categories>
</news>
<news id="4">
<title>Samsung gains tablet market share</title>
<summary>Samsung doubled its ...</summary>
<content><![CDATA[<p>Samsung, which makes...]]></content>
<imageURL></imageURL>
<newsDate>1359729540</newsDate>
<categories>
<category id="20002" name="Category Three"/>
<category id="20013" name="Subcategory 3.3"/>
</categories>
</news>
</newsItems>