LibraryOfCongress / api.congress.gov

congress.gov API
605 stars 38 forks source link

Members of Congress and the Committees they belong to #165

Closed mirandar9936 closed 8 months ago

mirandar9936 commented 8 months ago

Hello, I am trying to compile a spreadsheet containing the current members of congress and the committees they belong too. While the member endpoint has lots of information for each member of congress, it does not provide the committees that each member belongs to. Where can I get this information? I need to associate each member of congress with all the committees they belong to.

rbram commented 8 months ago

Hello. Thanks for your question. Please consult the following pages for current members and their committee assignments:

Senate: https://www.senate.gov/general/committee_assignments/assignments.htm House: https://clerk.house.gov/members/#MemberProfiles

mirandar9936 commented 8 months ago

Thanks. How can I automate getting the above information through the API using code? I would rather not have to go one by one for each congress person. Is there an endpoint that will give this info back in JSON?

rbram commented 8 months ago

Hello. No there is not a method for this from the Congress.gov API currently. You might find what you are looking for here. More information regarding Congressional bulk data from the House and Senate: • Legislative Documents in XML at the United States House of RepresentativesXML Sources Available on Senate.gov

Gmanicus commented 8 months ago

https://github.com/unitedstates/congress-legislators Might have what you're looking for

mirandar9936 commented 8 months ago

Thanks!