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

0.6.6 • Public • Published

api-aweber

Build Status Dependency Status devDependency Status

Quick Usage

import { Aweber } from "api-aweber"

let aweber = new Aweber({
  "consumerKey": "xxx",
  "consumerSecret": "yyy",
  "accessKey": "zzz",
  "accessSecret": "qqq",
})
let accountId = 666555777
let listId = 12345678
let data = {
  email: "test@example.com",
  ip: "127.0.0.1",
  ad_tracking: "my AD",
  misc_notes: "Node API client"
}

aweber.addSubscriber(accountId,listId,data).then(ok => {
  if(ok) console.log("Subscriber added!")
}).catch(err => {
  console.log(err)
})

Docs

This lib Doc: Documentation

Aweber official API doc: Aweber API

Readme

Keywords

Package Sidebar

Install

npm i api-aweber

Weekly Downloads

2

Version

0.6.6

License

GPL-3.0

Unpacked Size

483 kB

Total Files

47

Last publish

Collaborators

  • scippio