Skip to main content

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)

Uploaded Source

Built Distribution

ZeroCDN-1.0.6-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page