public AddressOffice getCampaignByElection(String electionId) throws VoteSmartException, VoteSmartErrorException {
    """
	This method grabs campaign office(s) and basic candidate information for the specified election.
	
	@param electionId
	@return {@link AddressOffice}: Candidate name and list of office addresses
    """
		return api.query("Address.getCampaignByElection", new ArgMap("electionId", electionId), AddressOffice.class );
	}
public AddressOffice getCampaignByElection(String electionId) throws VoteSmartException, VoteSmartErrorException {
		return api.query("Address.getCampaignByElection", new ArgMap("electionId", electionId), AddressOffice.class );
	}
public AddressOffice getCampaignByElection ( String electionId ) throws VoteSmartException , VoteSmartErrorException { return api . query ( "Address.getCampaignByElection" , new ArgMap ( "electionId" , electionId ) , AddressOffice . class ) ; }
This method grabs campaign office(s) and basic candidate information for the specified election.

@param electionId
@return {@link AddressOffice}: Candidate name and list of office addresses
This method grabs campaign office ( s ) and basic candidate information for the specified election .