public CandidateList getByZip ( String zip5 ) throws VoteSmartException , VoteSmartErrorException { return api . query ( "Officials.getByZip" , new ArgMap ( "zip5" , zip5 ) , CandidateList . class ) ; }
This method grabs a list of officials according to the zip code they represent .