sebaubuntu_libs.libgofile.raw_api

Functions

copy_content(contents_id, folder_id_dest, token)

Copy one or multiple contents to another folder.

create_folder(parent_folder_id, folder_name, ...)

Create a new folder.

delete_content(contents_id, token)

Delete one or multiple files/folders.

get_account_details(token[, all_details])

Get the account details.

get_content(content_id, token)

Get a specific content details.

get_geo()

Get the client geolocation.

get_server()

Returns the best server available to receive files.

set_folder_option(token, folder_id, option, ...)

Set an option on a folder.

upload_file(server, file[, token, ...])

Upload one file on a specific server.

sebaubuntu_libs.libgofile.raw_api.copy_content(contents_id: str, folder_id_dest: str, token: str)

Copy one or multiple contents to another folder.

sebaubuntu_libs.libgofile.raw_api.create_folder(parent_folder_id: str, folder_name: str, token: str)

Create a new folder.

sebaubuntu_libs.libgofile.raw_api.delete_content(contents_id: str, token: str)

Delete one or multiple files/folders.

sebaubuntu_libs.libgofile.raw_api.get_account_details(token: str, all_details: bool = False)

Get the account details.

sebaubuntu_libs.libgofile.raw_api.get_content(content_id: str, token: str)

Get a specific content details.

sebaubuntu_libs.libgofile.raw_api.get_geo()

Get the client geolocation.

sebaubuntu_libs.libgofile.raw_api.get_server()

Returns the best server available to receive files.

sebaubuntu_libs.libgofile.raw_api.set_folder_option(token: str, folder_id: str, option: str, value: str)

Set an option on a folder.

sebaubuntu_libs.libgofile.raw_api.upload_file(server: str, file: BytesIO, token: str | None = None, folder_id: str | None = None, description: str | None = None, password: str | None = None, tags: str | None = None, expire: datetime | None = None)

Upload one file on a specific server.

Modules

rest