News API
Open API Specification
Open API Specification (Swagger) documentation can be found here: News REST API. To test the APIs in the documentation site, click the Authorize button. Paste the test key of oViXqthDGFNVw3IvAsnKrFG1AcfPyA6b in the apikey-query text box.
News, Blogs and Columns
The DTN Publishing (News) API can be used to get News, Blogs and Column data that is available on the DTN Progressive Farmer web site (https://www.dtnpf.com). Depending on your subscription level, you will be able to get links to the articles on the DTN web site, or get the full article through our API.
Usage
The endpoints for the Publishing API fall into three sets of URLs:
…/publishing/blogs……/publishing/news……/publishing/columns…
Blogs
Blogs represent regular posting under known categories. Each blog in a category will cover the same general topic. There are two key points to remember about blogs:
- The content of a given blog post cannot be viewed outside DTNPF.
- Blogs are a series of posts on a common topic.
- Blogs generally have the same author, but special guest authors can occur.
News
News items are more general than blogs. Content obtained through the Publishing API falls into just two main groups:
- Blogs
- News
DTN Weather Commentary
The Weather Commentary that displays on DTNPF can also be retrieved through the API to display on your web site. The weather commentary is a special news article and can be obtained by using the Publishing (News) API. In this case, you simply need to use the following article identifier: 0702CC91
Making an API request to /publishing/news/articles/0702CC91 will retrieve an article containing the latest DTN Weather Commentary.
Content Services