/python-keycdn-api

A Python REST Client for the KeyCDN API

Primary LanguagePython

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