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.5.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.5-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ZeroCDN-1.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 513b179cb81a1637fe4394b738ea44a92fb9d23758f1f0073336143044ccef71
MD5 4c2dde1b4114f03bc60325cbcd17a2f8
BLAKE2b-256 3c352a9ccbaeec96ddc6bbcc66ef2308240485171aed03042416d52d0758b573

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ZeroCDN-1.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c66a95634f56f552b0cbc99889a9a554a9df82ec68ec7ce3c17aba0ae8a63f65
MD5 724f561c74ae3934f5ba1e99bcec5cbb
BLAKE2b-256 8c0e5cd583bd43486e5146ab63749376783d3e1829b9b99fa1e034f785d1d68c

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