def client_create(self, name, password):
        """
        Create a new client.  Uses the POST to /clients interface.

        :Args:
          * *name*: (str) Name of client
          * *password*: (str) Password of client
        :Returns: (str) ID of the newly created client.
        """
        body = {
            "name": name,
            "password": password
        }
        response = self._post(url.clients, body=body)
        self._check_response(response, 201)
        return self._create_response(response).get("client_id")
def client_create ( self , name , password ) : body = { "name" : name , "password" : password } response = self . _post ( url . clients , body = body ) self . _check_response ( response , 201 ) return self . _create_response ( response ) . get ( "client_id" )
Create a new client.  Uses the POST to /clients interface.

        :Args:
          * *name*: (str) Name of client
          * *password*: (str) Password of client
        :Returns: (str) ID of the newly created client.