Skip to main content

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 hashes)

Uploaded source

Built Distribution

keycdn-0.4.3-py2-none-any.whl (2.3 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page