API

If you would like to use this data in your application, I offer an API to retrieve it. In it's current state, this involves calling a PHP script directly with the zip information and XML is returned with the congressperson's info. You can optionally have the data returned in JSON by calling the API using "&output=json".

getall_mems.php

getall_reps_byname.php

getall_reps_bystate.php

getall_sens_byname.php

getall_sens_bystate.php