Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/markolofsen/cloudflare_api

Library for adding and removing subdomains in CloudFlare.
https://github.com/markolofsen/cloudflare_api

api coudflare django domain python

Last synced: 2 days ago
JSON representation

Library for adding and removing subdomains in CloudFlare.

Awesome Lists containing this project

README

        

🛠️ 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

```sh
pip3 install cloudflare_api==0.0.3
```

### How to use

```python
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.