task Integrating the Sunlight Labs API - Look Up Your Congress Person by Zip Code

2012-03-01

Building out a little enhancement to a sign-up form that provides users with a list of their likely congressmen based on their supplied zip code.  I'm using Sunlight Labs API, along with a third-party PHP library, to retrieve the results. The form fires a jQuery-based AJAX call as soon as the person enters their full 5 digit zip code, and populates a drop down of potential options (since some zip codes can cross multiple congressional boundaries). My client will be able to use this information from users to better target their local advocacy efforts. 

UPDATE

See Congressional District by Street Address Using Google Maps API