public Bills getBillsBySponsorYear(String candidateId, String year) throws VoteSmartException, VoteSmartErrorException {
    """
	Returns a list of bills that fit the sponsor's candidateId and year.
	Input: candidateId*, year*
	
	@param candidateId
	@param year
	@return {@link Bills}
    """
		return api.query("Votes.getBillsBySponsorYear", new ArgMap("candidateId", candidateId, "year", year), Bills.class );
	}
public Bills getBillsBySponsorYear(String candidateId, String year) throws VoteSmartException, VoteSmartErrorException {
		return api.query("Votes.getBillsBySponsorYear", new ArgMap("candidateId", candidateId, "year", year), Bills.class );
	}
public Bills getBillsBySponsorYear ( String candidateId , String year ) throws VoteSmartException , VoteSmartErrorException { return api . query ( "Votes.getBillsBySponsorYear" , new ArgMap ( "candidateId" , candidateId , "year" , year ) , Bills . class ) ; }
Returns a list of bills that fit the sponsor's candidateId and year.
Input: candidateId*, year*

@param candidateId
@param year
@return {@link Bills}
Returns a list of bills that fit the sponsor s candidateId and year . Input : candidateId * year *