sebaubuntu_libs.libgofile.utils
Functions
|
Copy one or multiple contents to another folder. |
|
Create a new folder. |
|
Delete one or multiple files/folders. |
|
Get the account details. |
|
Get a specific content details. |
Returns the best server available to receive files. |
|
|
Set an option on a folder. |
|
Upload one file on a specific server. |
- sebaubuntu_libs.libgofile.utils.copy_content(contents_id: Iterable[str], folder_id_dest: str, token: str)
Copy one or multiple contents to another folder.
- sebaubuntu_libs.libgofile.utils.create_folder(parent_folder_id: str, folder_name: str, token: str)
Create a new folder.
- sebaubuntu_libs.libgofile.utils.delete_content(contents_id: Iterable[str], token: str)
Delete one or multiple files/folders.
- sebaubuntu_libs.libgofile.utils.get_content(content_id: str, token: str)
Get a specific content details.
- sebaubuntu_libs.libgofile.utils.get_server() str
Returns the best server available to receive files.
- sebaubuntu_libs.libgofile.utils.set_folder_option(token: str, folder_id: str, option: str, value: str)
Set an option on a folder.
- sebaubuntu_libs.libgofile.utils.upload_file(file: str | Path | BytesIO, server: str | None = None, token: str | None = None, folder_id: str | None = None, description: str | None = None, password: str | None = None, tags: Iterable[str] | None = None, expire: datetime | None = None)
Upload one file on a specific server.