src/main/java/org/openstates/classes/BillClass.java
public Bills search(
		String state, 
		String chamber, 
		String bill_id, 
		String bill_id__in,
		String q, 
		String search_window,  
		String updated_since, 
		String sponsor_id, 
		String subject, 
		String type, 
		String sort, 
		String page, 
		String per_page
	) throws OpenStatesException {
		OpenStates.suspendCache();
		Bills bills = api.query( 
			new MethodMap("bills"), 
			new ArgMap(
				"state", state, 
				"chamber", chamber, 
				"bill_id", bill_id, 
				"bill_id__in", bill_id__in, 
				"q", q, 
				"search_window", search_window, 
				"updated_since", updated_since, 
				"sponsor_id", sponsor_id, 
				"subject", subject, 
				"type", type, 
				"sort", sort, 
				"page", page, 
				"per_page", per_page
			), 
		Bills.class);
		return bills;
	}
public Bills search(
		String state, 
		String chamber, 
		String bill_id, 
		String bill_id__in,
		String q, 
		String search_window,  
		String updated_since, 
		String sponsor_id, 
		String subject, 
		String type, 
		String sort, 
		String page, 
		String per_page
	) throws OpenStatesException {
		OpenStates.suspendCache();
		Bills bills = api.query( 
			new MethodMap("bills"), 
			new ArgMap(
				"state", state, 
				"chamber", chamber, 
				"bill_id", bill_id, 
				"bill_id__in", bill_id__in, 
				"q", q, 
				"search_window", search_window, 
				"updated_since", updated_since, 
				"sponsor_id", sponsor_id, 
				"subject", subject, 
				"type", type, 
				"sort", sort, 
				"page", page, 
				"per_page", per_page
			), 
		Bills.class);
		return bills;
	}
Bill Search
This method returns just a subset of the bill fields by default.
NOTE: *** This method never uses the cache. Use with caution. ***

Filter Parameters

The following parameters filter the returned set of bills, at least one must be provided.
Use null for any parameter that is not used.

@param state - Only return bills from a given state (e.g. 'nc')
@param chamber - Only return bills matching the provided chamber ('upper' or 'lower')
@param bill_id - Only return bills with a given bill_id.
@param bill_id__in - Accepts a pipe (|) delimited list of bill ids.
@param q Only return bills matching the provided full text query.
@param search_window By default all bills are searched,
but if a time window is desired the
following options can be passed to search_window:
all - Default, include all sessions.
term - Only bills from sessions within the current term.
session - Only bills from the current session.
session:2009 - Only bills from the session named 2009.
term:2009-2011 - Only bills from the sessions in the 2009-2011 session.
@param updated_since - Only bills updated since a provided date (provided in YYYY-MM-DD format)
@param sponsor_id - Only bills sponsored by a given legislator id (e.g. 'ILL000555')
@param subject - Only bills categorized by Open States as belonging to this subject.
@param type - Only bills of a given type (e.g. 'bill', 'resolution', etc.)

Additional Parameters
@param sort - Sort-order of results, defaults to 'last', options are:
'first', 'last', 'signed', 'passed_lower', 'passed_upper', 'updated_at', 'created_at'.

See the above action_dates, created_at, and updated_at documentation for the meaning of these dates.

The API will not return exceedingly large responses, so it may be
necessary to use page and per_page to control the number of results returned:
@param page - Page of results, each of size per_page (defaults to 1)
@param per_page - Number of results per page, is unlimited unless page is set, in which case it defaults to 50.

@return {@link Bills}