import socket


def get_ip_address() -> str:
    """Get IP address for computer.
        
    Parameters
    ----------
    None

    Returns
    -------
    ip_address : str
        IP address of computer
    """
    try:
        s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
        s.connect(("8.8.8.8", 80))
        ip_address = str(s.getsockname()[0])
        s.close()
        return ip_address
    except:
        return "unknown"