Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/markolofsen/cloudflare_api
- Owner: markolofsen
- Created: 2019-01-10T14:47:07.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-18T20:54:00.000Z (almost 6 years ago)
- Last Synced: 2024-12-13T04:21:39.889Z (about 2 months ago)
- Topics: api, coudflare, django, domain, python
- Homepage: https://gitupload.com
- Size: 36.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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_APIemail = '****@****'
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.