public CandidateList getByLastname(String lastName, String electionYear) throws VoteSmartException, VoteSmartErrorException {
		return api.query("Candidates.getByLastname", new ArgMap("lastName", lastName, "electionYear", electionYear), CandidateList.class );
	}
public CandidateList getByLastname(String lastName, String electionYear) throws VoteSmartException, VoteSmartErrorException {
		return api.query("Candidates.getByLastname", new ArgMap("lastName", lastName, "electionYear", electionYear), CandidateList.class );
	}
public CandidateList getByLastname ( String lastName , String electionYear ) throws VoteSmartException , VoteSmartErrorException { return api . query ( "Candidates.getByLastname" , new ArgMap ( "lastName" , lastName , "electionYear" , electionYear ) , CandidateList . class ) ; }
This method grabs a list of candidates according to a lastname match.

@param lastName
@param electionYear
@return {@link CandidateList}: list of detailed candidate information.
This method grabs a list of candidates according to a lastname match .