markolofsen / cloudflare_api

Library for adding and removing subdomains in CloudFlare.

Home Page:https://gitupload.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🛠️ This repository was created using the GitUpload.

Languages:
Deutsch | English | Spanish | French | Italian | Russian


Library for adding and removing subdomains in CloudFlare.

Hot to install

pip3 install cloudflare_api==0.0.3

How to use

from cloudflare_api import CLOUDFLARE_API

email = '****@****'
token = '****'
domain = 'estate.im'

#add subdomain
add = CLOUDFLARE_API(domain=domain, email=email, token=token).addSubdomain(subdomain='new')
print(add)

#delete subdomain
delete = CLOUDFLARE_API(domain=domain, email=email, token=token).deleteSubdomain(subdomain='new')
print(delete)
		

Version = 0.0.3
Library name = cloudflare_api
Title = CloudFlare API
Keywords = cloudflare api domain subdomains


🛠️ This repository was created using the GitUpload.

About

Library for adding and removing subdomains in CloudFlare.

https://gitupload.com