| 
									
										
										
										
											2016-04-10 18:22:58 +02:00
										 |  |  | # cflare
 | 
					
						
							| 
									
										
										
										
											2016-04-27 02:27:52 +02:00
										 |  |  | allows you to manage multiple cloudflare accounts. | 
					
						
							| 
									
										
										
										
											2016-04-27 02:20:27 +02: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 02:27:52 +02:00
										 |  |  | [](https://travis-ci.org/pushrocks/cflare) | 
					
						
							| 
									
										
										
										
											2016-04-27 02:20:27 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | ## Usage
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ```javascript | 
					
						
							|  |  |  | var cflare = require("cflare"); | 
					
						
							|  |  |  | var cflareInstance = new cflare(); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | cflareInstance.auth({ | 
					
						
							|  |  |  |     email:"", | 
					
						
							|  |  |  |     key:"" | 
					
						
							|  |  |  | }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-27 03:08:14 +02: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 02:27:52 +02:00
										 |  |  | ``` | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ### About the authors:
 | 
					
						
							|  |  |  | [](https://lossless.com/) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [](https://paypal.me/lossless) |