This API is deprecated in favor of the Real Time Congress API. It contains most legislative information that Drumbone does. Drumbone may be deactivated in the near future.
Information about a legislator in Congress. There is only one method available:
There is no "legislators" method - Drumbone currently only supports searches on individual legislators, not lists of them. For that functionality, use the Sunlight Labs Congress API.
bioguide_id - This is the ID used by the Congressional Biographical Directory, and is the closest thing the community has to an "official" ID for legislators. The bioguide ID for a legislator can be found using the Sunlight Labs Congress API.
govtrack_id - This is the ID number that GovTrack assigns to each legislator. It can also be found in the Sunlight Labs Congress API.
Except for the first three, all fields in the "basic" section are taken straight from the Congress API's legislator resource.
Some statistics relating to a legislator's sponsorships and cosponsorships of bills and resolutions.
Important: Use of this data is subject to GovTrack's bulk data license, and this data's accuracy and recency is tied to GovTrack's.
All fields in this section apply to the current session of Congress.
The remaining fields all correspond to a field above, with the value for the average legislator in this legislator's chamber of Congress.
Information about federal contract dollars granted within the legislator's district. This data is taken from the USASpending.gov API, and can be reused under the same (very open) terms that USASpending.gov offers it.
All fields in this section apply to one specific fiscal year, which is specified in the "fiscal_year" field.
Information about earmarks granted (not just requested) within a legislator's district. This data is calculated from spreadsheets published by the Taxpayers for Common Sense.
This data is subject to Taxpayers' terms of use, which includes a prohibition on commercial use.
All fields in this section apply to one specific fiscal year, which is specified in the "fiscal_year" field.