active-campaign-v1
TypeScript icon, indicating that this package has built-in type declarations

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.

Package Sidebar

Install

npm i active-campaign-v1

Weekly Downloads

3

Version

1.1.0

License

MIT

Unpacked Size

24.3 kB

Total Files

11

Last publish

Collaborators

  • dissfall