GOP.gov Anywhere API

bill.keyword


Retrieves information on a bill related to keyword:

http://www.gop.gov/api/bill.keyword

 

Parameters

Parameters are the data you will pass with the call.

api_token

Your secret identifier. You can find your API Token under "Information" of your GOP Portfolio Account.

bill_keyword

Will retrieve bills based on this parameter

Rules: Only letters and spaces allowed.

 

Error Messages


If no bills with those keywords exist:
ERROR: Bill does not exist

 

XML Return

<?xml version="1.0" encoding="utf-8"?>
   <method call="legdigest.getall" timestamp="3/21/2010 11:14:30 PM" >
      <bill>
         <billnumber>H.R. 226</billnumber>
         <title>Broadcast Freedom Act</title>
         <sponsor>Rep. Pence, Mike (IN-06) / Committee on Government Oversight</sponsor>
         <billtype>suspension</billtype>
         <permalink>hr226</permalink>
         <keywords>boradcast freedom,freedom of speech,first amendment</keywords>
         <floorsituation>&lt;p&gt;H.R. 226 is expected to be considered on the floor on Wednesday, January 14, under a structured rule. It is possible that general debate will be completed on Wednesday with amendment debate and consideration on Thursday, although this has not yet been determined. A complete summary of all amendments made in order under the rule will be distributed by the House Republican Conference when they are made available.&lt;/p&amp;gt;</floorsituation>
         <summary></summary>
         <executivesummary></executivesummary>
         <background></background>
         <cost></cost>
         <additionalinformation></additionalinformation>
         <additionalviews></additionalviews>
         <amendments></amendments>
      </bill>
   </method>
GOP.gov Anywhere API
Member Methods
Committee Methods
Legislative Methods
Documents Methods