ZeroCDN.com API
Project description
ZeroCDNAPI
API for ZeroCDN
class ZeroCDN:
def __init__(self, auth: tuple[str, str], api_key: str, zone: str = None):
...
# Working with files / Работа с файлами
def upload(self, file: BinaryIO, **params: dict[str]):
...
def upload_from_url(self, url, **params):
...
def files(self, in_folder: int | str = ''):
...
def file(self, file_id: int | str):
...
def delete_file(self, file_id: int | str):
...
def rename_file(self, file_id: int | str, new_name: str):
...
def change_file(self, file_id: int | str, **params: dict[str]):
...
# Working with directories / Работа с папками
def create_folder(self, folder_name: str, in_folder: int | str = ''):
...
def folders(self, in_folder: int | str = ''):
...
def folder(self, folder_id: int | str):
...
def delete_folder(self, folder_id: int | str):
...
def rename_folder(self, folder_id: int | str, new_name: str):
...
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ZeroCDN-1.0.6.tar.gz
(2.5 kB
view hashes)