def create_folder(self, token, name, parent_id, **kwargs):
parameters = dict()<EOL>parameters['<STR_LIT>'] = token<EOL>parameters['<STR_LIT:name>'] = name<EOL>parameters['<STR_LIT>'] = parent_id<EOL>parameters['<STR_LIT:description>'] = '<STR_LIT>'<EOL>optional_keys = ['<STR_LIT:description>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>']<EOL>for key in optional_keys:<EOL><INDENT>if key in kwargs:<EOL><INDENT>if key == '<STR_LIT>':<EOL><INDENT>if kwargs[key]:<EOL><INDENT>parameters['<STR_LIT>'] = kwargs[key]<EOL><DEDENT>continue<EOL><DEDENT>parameters[key] = kwargs[key]<EOL><DEDENT><DEDENT>response = self.request('<STR_LIT>', parameters)<EOL>return response<EOL>
Create a folder at the destination specified.

:param token: A valid token for the user in question.
:type token: string
:param name: The name of the folder to be created.
:type name: string
:param parent_id: The id of the targeted parent folder.
:type parent_id: int | long
:param description: (optional) The description text of the folder.
:type description: string
:param uuid: (optional) The UUID for the folder. It will be generated
    if not given.
:type uuid: string
:param privacy: (optional) The privacy state of the folder
    ('Public' or 'Private').
:param reuse_existing: (optional) If true, will just return the
    existing folder if there is one with the name provided.
:type reuse_existing: bool
:returns: Dictionary containing the details of the created folder.
:rtype: dict