code: public CandidateList getByDistrict(String districtId, String electionYear) throws VoteSmartException, VoteSmartErrorException {
  		return api.query("Candidates.getByDistrict", new ArgMap("districtId", districtId, "electionYear", electionYear), CandidateList.class );
  	}
docs: This method grabs a list of candidates according to the district they represent.
  
  @param districtId
  @param electionYear
  @return {@link CandidateList}: list of detailed candidate information.