Developer Resources

getnews

Get currently active news items.

URL

https://developer.mtd.org/api/{version}/{format}/getnews

Remarks

News items are retireved in reverse-chronilogicl order, with featured items first.

The body element is returned as raw HTML data. In the XML response it is returned as CDATA.

Parameters

key (required) your API key
count (optional) The number of news items to retireve. Get all if no count is supplied.
changeset_id (optional) see interpretting responses for more information

Response

postetd_date date the news article was posted in the format YYYY-MM-DD
author author of the article.
featured if the article is featured by MTD. There should be at most one of these.
url URL of the news article on MTD's website.
title title of the article
body full text of the article in HTML

Sample