-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from kickboxio/v2
Updating to V2
- Loading branch information
Showing
4 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,16 @@ kickbox.verify("[email protected]", function (err, response) { | |
console.log(response.body); | ||
}); | ||
``` | ||
|
||
#### Options | ||
|
||
**timeout** `integer` (optional) - Maximum time, in milliseconds, for the API to complete a verification request. Default: 6000. | ||
|
||
```js | ||
// Example with options | ||
kickbox.verify("[email protected]", {timeout: 6000}, function (err, response) {/*...*/}); | ||
``` | ||
|
||
### Response information | ||
|
||
A successful API call responds with the following values: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "kickbox", | ||
"version": "1.0.4", | ||
"version": "2.0.0", | ||
"description": "Official kickbox API library client for node.js", | ||
"author": "Chaitanya Surapaneni <[email protected]> (https://github.com/kickboxio)", | ||
"homepage": "http://kickbox.io", | ||
|