The Project Vote Smart API lets developers query against a broad range of data that Project Vote Smart maintains - candidate information, election districts, ballot initiatives, votes, committees, officials, and more. Results are returned in XML or JSON format.
Click the "Track this API" button on any profile page and never miss an API update, new app, or breaking news for that API again.
There are no mashups, developers or code associated with this API yet.
http://votesmart.org/services_api.php is the link to get an API key and download the libraries.