Committees.getList

From Sunlabs wiki

Jump to: navigation, search


committees.getList gets a list of all committees for a given chamber along with their subcommittees

Contents

Parameters

chamber
House, Senate, or Joint

Return Value

List of all committees in the specified chamber with their subcommittees (but not memberships due to size of response).

Example Calls

committees.getList?chamber=Joint

{"response": {"committees": [
	{"committee": {"chamber": "Joint", "id": "JSEC", "name": "Joint Economic Committee"}}, 
	{"committee": {"chamber": "Joint", "id": "JSPR", "name": "Joint Committee on Printing"}}, 
	{"committee": {"chamber": "Joint", "id": "JSTX", "name": "Joint Committee on Taxation"}}, 
	{"committee": {"chamber": "Joint", "id": "JSLC", "name": "Joint Committee on the Library"}}
]}}

committees.getList.xml?chamber=Senate

<response>
    <committees>
    <committee><chamber>Senate</chamber><id>SSRA</id><name>Senate Committee on Rules and Administration</name></committee>
    <committee><chamber>Senate</chamber><id>SSEV</id><name>Senate Committee on Environment and Public Works</name>
        <subcommittees>
            <committee><chamber>Senate</chamber><id>SSEV_kid</id><name>Subcommittee on Children's Health</name></committee>
            <committee><chamber>Senate</chamber><id>SSEV_air</id><name>Subcommittee on Clean Air and Nuclear Safety</name></committee>
            <committee><chamber>Senate</chamber><id>SSEV_grn</id><name>Subcommittee on Green Jobs and the New Economy</name></committee> 
            <committee><chamber>Senate</chamber><id>SSEV_osi</id><name>Subcommittee on Oversight</name></committee>
            <committee><chamber>Senate</chamber><id>SSEV_tox</id><name>Subcommittee on Superfund, Toxics and Environmental Health</name></committee>    
            <committee><chamber>Senate</chamber><id>SSEV_trn</id><name>Subcommittee on Transportation and Infrastructure</name></committee> 
            <committee><chamber>Senate</chamber><id>SSEV_wwf</id><name>Subcommittee on Water and Wildlife</name></committee>
        </subcommittees>
    </committee> 
    ...
    </committees>
</response>
Personal tools