Sunlight Congress API - [Developer Review]
by Kin Lane on 02/12/2011
Sunlight Labs has released an API that will help address the Sunlight Foundation's mission - making information about government more open and transparent.
The Sunlight Congress API provides an interface for developers to pull Members of Congress's information, including name, party, location, email addresses, website information, and much more.
The Sunlight Congress API is a RESTful API that returns JSON or XML, and uses an application key for authentication.
The URL looks like:
The Sunlight Congress API provides the following methods:
Legislator
- legislators.get - get all information on a single legislator
- legislators.getList - get information on all legislators meeting certain requirements
- legislators.search - fuzzy name search against legislators
- legislators.allForZip - get information on all legislators that represent some portion of a given zip code (typically 2 senators + 1 or more representatives)
- legislators.allForLatLong - get information on all legislators that represent a given latitude/longitude
District
- districts.getDistrictsFromZip - get district(s) that a given zip code falls within
- districts.getZipsFromDistrict - get zip codes that fall within a given district
- districts.getDistrictFromLatLong - get district that contains a location identified by a latitude/longitude
- committees.getList - get list of committees matching certain criteria
- committees.get - get details on a committee including its subcommittees and members
- committees.allForLegislator - get all committees that a given legislators serves on
Related articles
- Sunlight Foundation Releases Real Time Congress API (readwriteweb.com)
- Sunlight Labs Needs Your Help to Keep the Fires Burning (programmableweb.com)
- History of APIs - Birth through Social (apievangelist.com)
Tags:
| API Evangelist, APIs, Data, Government 2.0, Sunlight Foundation, Sunlight Labs, United States Congress |
|
Share
|
|
|
Tweet |
|
blog comments powered by Disqus
Partner Sites
Latest Blog Posts
- Connect With Linguistics API Apicultur While They Are In San Francisco
- My First Keynote With The Infamous Audrey Watters
- Are You Going To Be At API Days in San Francisco? I Am!
- Updated API History White Paper
- History of APIs - Twilio
- API Providers Guide - API Design
- Box Opens Up Revenue Sharing For API Developers
- History of APIs - Mashery
- A Book API Platform
- History of APIs - del.icio.us
- API Management Using Github
- In The End API Providers Will Only Sell Bandwidth
- The Build-Up To #APIStrat in October
- APIdays Mediterranea Is A Wrap
- Helping EFF Urge The Courts to Block Copyright Claims in Oracle v. Google API Fight
- API Aggregation For Federal Government with FedAPI
- Have You Checked Out Webshell Lately?
- New Features From BaaS Provider AnyPresence
- Signals I Use To Monitor Companies In The API Space
- API Management Using APiphany
- Github Can Be More Than Code
- Quick Demonstration Showing The Benefits of The White House Digital Strategy
- IRS Needs To Use White House Open Data Policy For Guidance
- Dropbox As Your Apps Default File System
- DataSift's Open Source World


