New in the Congress API: Congressional statements and more

The statements are available by date, by member and in reverse chronological order

Image
Derek Willis | ProPublica
Last Updated : May 18 2017 | 11:12 AM IST

We’ve got a few updates on our Congress API to tell you about.

First, today we’re announcing that the congressional statements appearing in our Represent congressional database are now available via our Congress API. You can see examples of the API requests and responses on our new documentation site.

The statements, which are pulled directly from official House and Senate websites, are available by date, by member and in reverse chronological order. You also can search the titles of statements by keyword or retrieve statements by subject. Subjects are assigned by a ProPublica journalist.

Several times a day, we check RSS feeds for members who have them and load any new items into our database. For sites that don’t have RSS we resort to screen-scraping using the Statement Ruby gem. This is an imperfect solution because members of the House and Senate change the structure of their websites more often than you might think, and we have to play catch up when they do. If you see that we’re missing member statements for more than a few days, please email us at apihelp@propublica.org.

The Los Angeles Times has already used the API to build a page showing where members of the Senate stood on the firing of former FBI Director James Comey.

You can sign up for an API key here.

In addition to the new statement endpoints, we’ve added data from the Sunlight Congress API into the main ProPublica Congress API, as we continue to merge the two. For the bill endpoints, we’ve added recently enacted and recently vetoed bills. We’ve also updated endpoints for members, votes and amendments.

Next on the roadmap are House and Senate floor updates, more committee responses and the ability to search the full text of bills. Those will be coming early this summer, so stay tuned. If you run into any issues with the Congress API, you can create an issue on GitHub or email us at apihelp@propublica.org.

Finally, a bonus announcement: Demokratia, a civic technology firm that is using the Congress API for a project, has built a .NET client for testing its endpoints and released it to the public. You can find it here

ProPublica is a Pulitzer Prize-winning investigative newsroom. Sign up for their newsletter.

The original article was published at ProPublica. You can read it here

One subscription. Two world-class reads.

Already subscribed? Log in

Subscribe to read the full story →
*Subscribe to Business Standard digital and get complimentary access to The New York Times

Smart Quarterly

₹900

3 Months

₹300/Month

SAVE 25%

Smart Essential

₹2,700

1 Year

₹225/Month

SAVE 46%
*Complimentary New York Times access for the 2nd year will be given after 12 months

Super Saver

₹3,900

2 Years

₹162/Month

Subscribe

Renews automatically, cancel anytime

Here’s what’s included in our digital subscription plans

Exclusive premium stories online

  • Over 30 premium stories daily, handpicked by our editors

Complimentary Access to The New York Times

  • News, Games, Cooking, Audio, Wirecutter & The Athletic

Business Standard Epaper

  • Digital replica of our daily newspaper — with options to read, save, and share

Curated Newsletters

  • Insights on markets, finance, politics, tech, and more delivered to your inbox

Market Analysis & Investment Insights

  • In-depth market analysis & insights with access to The Smart Investor

Archives

  • Repository of articles and publications dating back to 1997

Ad-free Reading

  • Uninterrupted reading experience with no advertisements

Seamless Access Across All Devices

  • Access Business Standard across devices — mobile, tablet, or PC, via web or app

Next Story