SunlightCommittee::committeesInfo()

  • Description: Retrieves data on a specific committee.
  • Arguments: Requires unique committee_id.
1
2
3
4
5
6
api_key = 'XXXXXXXXXXXX';

echo '<pre>';
print_r( $sf-&gt;committeesInfo( 'SSAF_ppp' ) );
echo '</pre>';
?&gt;

Result:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
stdClass Object
(
    [chamber] =&gt; Senate
    [id] =&gt; SSAF_ppp
    [name] =&gt; Subcommittee on Production, Income Protection and Price Support
    [subcommittees] =&gt; Array
        (
        )

    [members] =&gt; Array
        (
        )

)