Inside NPR.org

API

NPR API Update: All Blogs Now Available

Several months ago, the team started to work on moving all of our public blogs from MovableType to our central content management system. In addition to the migration, we also incorporated some powerful additions to our CMS interfaces that will enable blogging and content producing to be much easier. In fact, those tools have been in operation for a while already.

What is new, however, is the fact that all of our blog content, as a result of this migration, are now available through the API. To see a full list of the blogs that are now available, go to the NPR Blogs Directory.

The addition of this content has resulted in a few changes (additions only) to the API and documentation. The changes are as follows:

  • A total of 35 blogs have been added to the system, all of which are queryable through the API.
  • A total of about 30,000 blog posts have been added to the system. Except where rights restricted, all content from all of these posts are fully available in the API.
  • A new tab called BLOGS has been added to the Query Generator for all of the blogs.
  • A new XML list has been created for blogs. This list is available at http://api.npr.org/list?id=3013 and can be found in the documentation on the Story API Input Reference
  • The COLUMNS tab in the Query Generator has been removed. The actual columns have been added to the SERIES tab.

Blog posts in our API are treated the same as stories. That means that you can query the API for blog content directly or you can query by topic, personality, etc. If you query by topic, your results can potentially be a blend of radio stories, non-radio stories and/or blog posts. Similarly, for all API queries, the results are customizable and transformable based on the options in the Query Generator. Additionally, as new blog posts get published, they too will be immediately available in the API and will surface in any query that matches its parameters.

So, technically, Inside NPR.org is no longer inside... Enjoy!

Comments

 

Please keep your community civil. All comments must follow the NPR.org Community rules and terms of use, and will be moderated prior to posting. NPR reserves the right to use the comments we receive, in whole or in part, and to use the commenter's name and location, in any medium. See also the Terms of Use, Privacy Policy and Community FAQ.

Inside NPR.org
Support comes from: