public CandidateList getStatewide ( String stateId ) throws VoteSmartException , VoteSmartErrorException { return api . query ( "Officials.getStatewide" , new ArgMap ( "stateId" , stateId ) , CandidateList . class ) ; }
This method grabs a list of officials according to state representation .