Python wrapper for the CloudFlare Client API
Switch branches/tags
Nothing to show
Pull request Compare This branch is 33 commits behind cloudflare-api:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cloudflare
.gitignore
README.md
setup.py

README.md

Python-CloudFlare

This is a 1:1 wrapper around the CloudFlare API in Python

Copying

This software is released under no license. It is free for you to use, steal, sell, break, modify, or really anything else.

Installing

sudo python setup.py install

Using

To call the API wrapper, this has to be done.

from cloudflare import CloudFlare
cfapi = CloudFlare(your_email, your_api_key)

All methods are exact copies of the CloudFlare API documentation found here. Please note, when I say exact copy, I mean EXACT copy. The parameters are in the same order. Any optional parameters can be skipped with None.

Updating an A record from this API would look like this...

result = cfapi.DIUP('8.8.102.112', 'example.com,example.org')
#=> Returns a dict of what the API returned for that method.

Support

I will provide support via email (katie.price@geodelab.com) or by Twitter (@xietak)