Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

cloudflare-api/python-cloudflare

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Python wrapper for the CloudFlare Client API

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.