Skip to content

Commit c7a9b6b

Browse files
committed
bam!
1 parent e2d4825 commit c7a9b6b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+3167
-224
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules/
22
npm-debug.log
3+
src/tests/config.json

Diff for: .travis.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
language: node_js
2+
node_js:
3+
- "7"

Diff for: README.md

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
api-getresponse
2+
===========
3+
[![Build Status](https://travis-ci.org/scippio/api-getresponse.svg)](https://travis-ci.org/scippio/api-getresponse)
4+
[![Dependency Status](https://david-dm.org/scippio/api-getresponse.svg)](https://david-dm.org/scippio/api-getresponse)
5+
[![devDependency Status](https://david-dm.org/scippio/api-getresponse/dev-status.svg)](https://david-dm.org/scippio/api-getresponse#info=devDependencies)
6+
7+
Quick Usage
8+
-----
9+
10+
```!javascript
11+
import { GetResponse } from "api-getresponse"
12+
13+
let gr = new GetResponse({
14+
"apiKey": "xxx"
15+
})
16+
17+
gr.addContact({
18+
name: "Random Test",
19+
20+
token: "yyy",
21+
dayOfCycle: 0,
22+
ip: "10.20.30.40",
23+
customFields: [{
24+
id: "abcd",
25+
value: ["Test"]
26+
},{
27+
id: "efgh",
28+
value: ["CA"]
29+
}]
30+
}).then(ok => {
31+
if(ok) console.log("Contact added!")
32+
}).catch(err => {
33+
console.log(err)
34+
})
35+
36+
```
37+
38+
Docs
39+
-----
40+
This lib Doc: [Documentation](docs/index.md)
41+
42+
Get Response official API doc: [Get Response API](https://apidocs.getresponse.com/v3)

0 commit comments

Comments
 (0)