InfoQ

News

REST, Silverlight, and the New York Times

Posted by Jonathan Allen on May 12, 2009

Community
.NET,
SOA
Topics
Silverlight ,
Rich Internet Apps ,
REST
Tags
JSON

In a effort to remain relevant in the increasingly difficult news industry, the New York Times has built a REST-based API through the Times Developer Network. Though still in public beta, there is already a rather extensive list of available APIs. Most APIs return both XML and JSON and are very well documented. Other REST providers would do well to emulate their standards.

  • Article Search API: Search Times articles from 1981 to today, retrieving headlines, abstracts and links to associated multimedia.
  • Best Sellers API: Get data from all New York Times best-seller lists, including rank history for specific best sellers.
  • Campaign Finance API: Get presidential campaign contribution and expenditure data based on United States Federal Election Commission filings.
  • Community API: Get comments by NYTimes.com users.
  • Congress API: Get U.S. Congressional vote data, including information about specific House and Senate members.
  • Movie Reviews API: Get links to reviews and NYT Critics' Picks, and search movie reviews by keyword.
  • New York State Legislature API: Get member and committee information for the New York State Senate and Assembly.
  • Real Estate API: Get aggregate data for real estate listings and sales in New York City.
  • Times Newswire API: Get links and metadata for Times articles in an up-to-the-minute stream.
  • TimesPeople API: Get TimesPeople profile and activity data.
  • TimesTags API: Get standardized terms that match your search query, and filter by Times dictionaries.

Currently the APIs are free, but there are numerous restrictions on the APIs. For example, only the Campaign Finance, Congress, and NY State Legislature APIs are licensed for commercial use. All other APIs are strictly limited to non-commercial, non-competing use. And of course there is no guarantee that fees won’t be charged in the future, presumably once they figure out how to make money off the thing.

In order to make it easier for developers to use these APIs, Microsoft and the New York Times are jointly offering the New York Times Silverlight Kit. As the name implies, this toolkit is heavily focused on promoting Silverlight and other Microsoft technologies. This are reflected in the project goals.

  • Make it easy for designers and developers to use the APIs with little to no coding: all XAML
  • Include Design-Time sample data to facilitate crafting experiences in Expression Blend and Visual Studio
  • Use the MVVM Design Pattern to separate components for test-ability and data binding.

Despite being tagged with the Microsoft Permissive License, the source code isn’t actually available at this time. Only the DLL and related debug symbols are in the 1.0.1 release.

New York Times Silverlight Kit Now Open Source by Michael Scherotter Posted May 13, 2009 6:18 PM
Re: New York Times Silverlight Kit Now Open Source by Paul Hunter Posted May 13, 2009 7:28 PM
  1. Back to top

    New York Times Silverlight Kit Now Open Source

    May 13, 2009 6:18 PM by Michael Scherotter

    We just published the New York Times Silverlight Kit with source code, unit tests, and demo code under the MS-PL license. It just took a while to get everything wrapped up and ready.

  2. If the NY Times want's "to remain relevant in the increasingly difficult news industry" they should climb out of the ditch on the left-side of the political road and move to the center (is that to much to ask?) or maybe just the the left shoulder.

Educational Content

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.