Skip to content

Commit

Permalink
Merge pull request #13 from peterbe/12-include-readme
Browse files Browse the repository at this point in the history
include README
  • Loading branch information
svenba authored May 6, 2019
2 parents 4f685bb + 18e6cdf commit 0c096e2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 40 deletions.
37 changes: 0 additions & 37 deletions README

This file was deleted.

8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Python Library for the KeyCDN API


## Installation

``` bash
```bash
pip install keycdn
```

## Usage

### Initial

```python
import keycdn

Expand All @@ -19,19 +19,21 @@ api = keycdn.Api('<your_api_key>')
```

### Get all zones

```python
api.get('zones.json')
```

### Get a specific zone

```python
api.post('zones/<zoneId>.json')
```

### Purge zone cache

```python
api.get('zones/purge/<zoneId>.json')
```


For more details visit https://www.keycdn.com
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import setuptools
from distutils.core import setup

setup(
name = 'keycdn',
packages = ['keycdn'],
version = '0.4',
description = 'A Python REST Client for KeyCDN API',
long_description = open('README.md').read(),
long_description_content_type = 'text/markdown',
author = 'KeyCDN',
author_email = '[email protected]',
url = 'https://github.com/keycdn/python-keycdn-api',
Expand Down

0 comments on commit 0c096e2

Please sign in to comment.