Needless Patchouli Manufacture
Miss any of our Open RFC calls?Watch the recordings here! »

active-campaign-v1

1.1.0 • Public • Published

active-campaign-v1

Wrapper for Active Campaign API v1

NPM

npm Downloads Commitizen friendly code style: prettier

This module contains API endpoints, which I needed when implementing my project. You can easily contribute to this module the endpoints you need and use them.

Installation

yarn add active-campaign-v1

or

npm install active-campaign-v1

Docks

See the documentation at

Example

Common JS

import { AC } from 'active-campaign-v1'
 
const ac = new AC('<account-name>', '<API-token>')
 
ac.contactAdd({
    email: 'test@mail.com',
    firstName: 'test'
  })

This code creates new contact with email test@mail.com and test name.

Avaliable methods

Account view

full support

endpoint method
account_view accountView

Contact

partially support

endpoint method
contact_add contactAdd
contact_sync contactSync
contact_view contactView

License

Licensed under the MIT License, Copyright © 2020-present George Lukyanov

See LICENSE for more information.

Install

npm i active-campaign-v1

DownloadsWeekly Downloads

27

Version

1.1.0

License

MIT

Unpacked Size

24.3 kB

Total Files

11

Last publish

Collaborators

  • avatar