dreamhost
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "dreamhost", | ||
"version": "1.0.0", | ||
"description": "Complete DreamHost API client for Node.js and Browsers", | ||
"version": "1.0.1", | ||
"description": "Complete DreamHost API client for Node.js", | ||
"main": "dreamhost.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -9,3 +9,3 @@ # DreamHost API Client for Node.js | ||
You'll need a [DreamHost] account and an [API Key][API], and [Node.js] >= v4. | ||
You'll need a [DreamHost] account and an [API Key][API], and [Node.js] >= v6. | ||
@@ -23,3 +23,3 @@ ## Installation | ||
const dreamHost = new Dreamhost({ | ||
const dreamHost = new DreamHost({ | ||
key: '<your api key>' | ||
@@ -29,3 +29,3 @@ }); | ||
// dreamHost will be initialized with all modules available, e.g. | ||
dreamHost.dns.listRecords({type: 'A') | ||
dreamHost.dns.listRecords({type: 'A'}) | ||
.then(records => console.log(records)) | ||
@@ -53,2 +53,14 @@ .catch(err => console.error(err)) | ||
* [Account](#account) | ||
* [AnnouncementList](#announcement_list) | ||
* [Api](#api) | ||
* [Dns](#dns) | ||
* [Domain](#domain) | ||
* [Jabber](#jabber) | ||
* [Mail](#mail) | ||
* [Mysql](#mysql) | ||
* [Oneclick](#oneclick) | ||
* [Rewards](#rewards) | ||
* [Services](#services) | ||
* [User](#user) | ||
@@ -55,0 +67,0 @@ ### Account |
34525
772