api-getresponse
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

api-getresponse

Build Status Dependency Status devDependency Status

Quick Usage

import { GetResponse } from "api-getresponse"
 
let gr = new GetResponse({
  "apiKey": "xxx"
})
 
gr.addContact({
  name: "Random Test",
  email: "random-test-123@gmail.com",
  token: "yyy",
  dayOfCycle: 0,
  ip: "10.20.30.40",
  customFields: [{
      id: "abcd",
      value: ["Test"]
  },{
      id: "efgh",
      value: ["CA"]
  }]
}).then(ok => {
  if(ok) console.log("Contact added!")
}).catch(err => {
  console.log(err)
})
 

Docs

This lib Doc: Documentation

Get Response official API doc: Get Response API

Package Sidebar

Install

npm i api-getresponse

Weekly Downloads

1

Version

1.0.0

License

GPL-3.0

Last publish

Collaborators

  • scippio