A Python REST Client for KeyCDN API
Project description
Python Library for the KeyCDN API
Installation
pip install keycdn
Usage
Initial
import keycdn
...
api = keycdn.Api('<your_api_key>')
Get all zones
api.get('zones.json')
Get a specific zone
api.post('zones/<zoneId>.json')
Purge zone cache
api.get('zones/purge/<zoneId>.json')
For more details visit https://www.keycdn.com
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
keycdn-0.4.3.tar.gz
(1.9 kB
view details)
Built Distribution
File details
Details for the file keycdn-0.4.3.tar.gz
.
File metadata
- Download URL: keycdn-0.4.3.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25572cb8e4d03b4b18c900cf9ec8ba5ada362a5436239606afc17a66ab9f17ad |
|
MD5 | 3dc730ba43d3ec392b0006f0df02aee4 |
|
BLAKE2b-256 | beb87b5736c722c42e7f5ede0b5087aefe95ebba32869342d5be077a7a6dd450 |
File details
Details for the file keycdn-0.4.3-py2-none-any.whl
.
File metadata
- Download URL: keycdn-0.4.3-py2-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75aab660ca8668dfd75941ddac65997b32d5c2c893fc5b9e0c2602bc9af1a6aa |
|
MD5 | 3c623d12143dbaa66b630ae57ff186d5 |
|
BLAKE2b-256 | 303a829d560346d178cd036ac27ebfd9c6ee2268ce943aa9aa55b10b80d51979 |