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