src/main/java/org/votesmart/classes/VotesClass.java
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}