2016-04-10 16:22:58 +00:00
|
|
|
# cflare
|
2016-04-27 00:27:52 +00:00
|
|
|
allows you to manage multiple cloudflare accounts.
|
2016-04-27 00:20:27 +00:00
|
|
|
|
|
|
|
> Note: this package is still in alpha, so some things do not yet work.
|
|
|
|
I (Phil from Lossless) expect this package to be ready 1. of June 2016.
|
|
|
|
|
|
|
|
## Status
|
2016-04-27 00:27:52 +00:00
|
|
|
[![Build Status](https://travis-ci.org/pushrocks/cflare.svg?branch=master)](https://travis-ci.org/pushrocks/cflare)
|
2016-04-27 00:20:27 +00:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```javascript
|
|
|
|
var cflare = require("cflare");
|
|
|
|
var cflareInstance = new cflare();
|
|
|
|
|
|
|
|
cflareInstance.auth({
|
|
|
|
email:"",
|
|
|
|
key:""
|
|
|
|
});
|
|
|
|
|
2016-04-27 01:08:14 +00:00
|
|
|
cflareInstance.createRecord(); // returns promise with resolve function getting the response;
|
|
|
|
cflareInstance.removeRecord(); // returns promise with resolve function getting the response;
|
|
|
|
cflareInstance.copyRecord(); // returns promise with resolve function getting the response;
|
|
|
|
cflareInstance.listRecords(); // returns promise with resolve function getting the response;
|
|
|
|
cflareInstance.listDomains(); // returns promise with resolve function getting the response;
|
2016-04-27 00:27:52 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### About the authors:
|
|
|
|
[![Project Phase](https://mediaserve.lossless.digital/lossless.com/img/createdby_github.svg)](https://lossless.com/)
|
|
|
|
|
|
|
|
[![Gitter](https://img.shields.io/badge/Support%20us-PayPal-blue.svg)](https://paypal.me/lossless)
|