The Romney vs Obama API

Ajay Ohri, July 27th, 2012

New York Times Campaign FinanceThe U.S. presidential race may be heating up thanks to the New York Times Campaign Finance API. The API lets you retrieve contribution and expenditure data from United States Federal Election Commission filings. The NY Times team have taken public campaign finance data and created a useful data set that answers the most frequently asked campaign finance questions. The New York Times Campaign Finance databases are updated twice daily (electronic filings are updated every 15 minutes).

You can use the New York Times API for Campaign Finance to determine  a lot of things (we have a reference to an easy to use Tutorial using Google Spreadsheets. In February the Times updated with real-time tracking especially designed for the new electoral campaign funding on steroids fueled by Super PACs. That’s done by Fech, the open source Ruby Parser of NY Times.

You can literally follow the money in real-time, with some even more new enhancements. Last week the NY Times Open Blog mentions that the API has four new responses covering late contribution data (which can provide a spoiler to estimates and forecasts):

This is also facilitated by Campaign Cash, a Ruby Client for the API. There is also a new thin Python Client for Python fans to use with the Campaign Finance API.

Lastly, in what is a rather well designed attempt to make these APIs more useable, you can also create a dummy REST query using the prototype API console There are a total of 13 APIs including the Campaign Finance API that can be used at this console.

Who is funding Romney? What about Obama?  It is just another API call away.

Both comments and pings are currently closed.

One Response to “The Romney vs Obama API”

August 29th, 2012
at 12:41 pm
Comment by: Socrata Data API- Keeping Government Open

[...] using the SODA console. However we find this console  is not as easy to use for non coders, as other consoles tend to be which use graphical user interfaces with drop down [...]

Follow the PW team on Twitter

ProgrammableWeb
APIs, mashups and code. Because the world's your programmable oyster.

John Musser
Founder, ProgrammableWeb

Adam DuVander
Executive Editor, ProgrammableWeb. Author, Map Scripting 101. Lover, APIs.