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 Python 2

Supported by

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