public AddressAddress getOfficeByOfficeState ( String officeId ) throws VoteSmartException , VoteSmartErrorException { return api . query ( "Address.getOfficeByOfficeState" , new ArgMap ( "officeId" , officeId ) , AddressAddress . class ) ; }
This method grabs office address and basic candidate information according to the officeId and state .