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, in_folder: str | int, **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.4.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ZeroCDN-1.0.4-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file ZeroCDN-1.0.4.tar.gz.

File metadata

  • Download URL: ZeroCDN-1.0.4.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for ZeroCDN-1.0.4.tar.gz
Algorithm Hash digest
SHA256 edb94b1ba40410bae4596104a3594075bc1ce264be1423d2132194ee921f94f0
MD5 c52d74a573cb7fdac2c86a35fbfc7a90
BLAKE2b-256 3ec2a99b79771fe20b2694bb6c214959e97f99b88b8abd7e664df59fd59dd54b

See more details on using hashes here.

File details

Details for the file ZeroCDN-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: ZeroCDN-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for ZeroCDN-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ccb918a19d2958b9df43b316bfba61b1c7577e445dfc531e9366fc391713290b
MD5 18ef672dd6a02db20845773d6a284d82
BLAKE2b-256 2319caf3636a9294187e85c292fd9db3d7c8be18f7da78e2d9f7fe5e045716cb

See more details on using hashes here.

Supported by

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