-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.tpl.hbs
52 lines (41 loc) · 997 Bytes
/
README.tpl.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Nimbusec client API library for Node.js
=======================================
## Installation
```bash
$ npm install nimbusec
```
## Usage Example
```javascript
var nimbusecAPI = require('nimbusec');
var api = new nimbusecAPI('NIMBUSEC-KEY', 'NIMBUSEC-SECRET');
api.findDomains(null, function(err, domains) {
if (err) {
console.log('An error occured : ');
console.log(' - code : '+ err.statusCode);
console.log(' - message : '+ err.message);
process.exit(1);
}
console.log('My domains are :');
for (var i = 0; i < domains.length; i++) {
console.log(' - ' + domains[i].name);
}
});
```
## Commands
### Generate HTML documentation
```bash
$ grunt doc
```
### Generate README.md file
```bash
$ grunt shell:generateReadme
```
### Check the coding style
```bash
$ grunt eslint
```
## To Do
* Implement /v2/user/* part of the API
* Implement /v2/domain/<id>/screenshot/* part of the API when available
## API Reference
{{>main}}