Get version of nipapd we're connected to.

        Maps to the function :py:func:`nipap.xmlrpc.NipapXMLRPC.version` in the
        XML-RPC API. Please see the documentation for the XML-RPC function for
        information regarding the return value.

def nipapd_version():
    """ Get version of nipapd we're connected to.

        Maps to the function :py:func:`nipap.xmlrpc.NipapXMLRPC.version` in the
        XML-RPC API. Please see the documentation for the XML-RPC function for
        information regarding the return value.
    """

    xmlrpc = XMLRPCConnection()
    try:
        return xmlrpc.connection.version(
            {
                'auth': AuthOptions().options
            })
    except xmlrpclib.Fault as xml_fault:
        raise _fault_to_exception(xml_fault)