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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ZeroCDN-1.0.6.tar.gz.
File metadata
- Download URL: ZeroCDN-1.0.6.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a31e40949425c804434017d46a84a43cc7ea718a4b6d326a21cfe426ff72cad
|
|
| MD5 |
9ca99bf8b4c18ef485d5a9265e0c4ede
|
|
| BLAKE2b-256 |
2090546dda698e45f31daaf213778845bf49bf82482df1aebb286fa86a9cf7e2
|
File details
Details for the file ZeroCDN-1.0.6-py3-none-any.whl.
File metadata
- Download URL: ZeroCDN-1.0.6-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3ed706422abc6fd1ef09ff466b94ff8769e912d5f53980f028cfca00078ed1c
|
|
| MD5 |
b1f6b19a426397af08b4cd6abfe01485
|
|
| BLAKE2b-256 |
c7560729d65652d86e06868986ccde3124fe2c59cd1dbcf664b90594568536f6
|