The Sunlight Labs Congress API provides methods for obtaining basic information on Members of Congress, legislator IDs used by various websites, and geographical lookups between places and the politicians that represent them. The primary purpose of the API is to facilitate mashups involving politicians and the various other APIs that are out there.
This set of Congress API methods deal with federal legislators. For detailed documentaion on the return value of these methods see legislator fields.
Pair of methods for retrieving districts. District dictionaries have a ‘state’ and ‘number’ key (ex. {‘state’: ‘NC’, ‘number’: ‘3’})
Methods for dealing with committees.