Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dissfall/active-campaign-v1

Wrapper for Active Campaign API v1
https://github.com/dissfall/active-campaign-v1

active-campaign api api-wrapper wrapper

Last synced: about 1 month ago
JSON representation

Wrapper for Active Campaign API v1

Awesome Lists containing this project

README

        

# active-campaign-v1
_Wrapper for Active Campaign API v1_

[![NPM](https://nodei.co/npm/active-campaign-v1.png?downloads=true&downloadRank=true)](https://nodei.co/npm/active-campaign-v1/)

[![npm Downloads](https://img.shields.io/npm/dm/active-campaign-v1.svg?style=flat-square)](https://npmcharts.com/compare/active-campaign-v1?minimal=true)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](http://commitizen.github.io/cz-cli/)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square&logo=prettier)](https://github.com/prettier/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
```BASH
yarn add active-campaign-v1
```
**or**
```BASH
npm install active-campaign-v1
```

## Docks
**See the documentation at []()**

## Example

### Common JS

```JS
import { AC } from 'active-campaign-v1'

const ac = new AC('', '')

ac.contactAdd({
email: '[email protected]',
firstName: 'test'
})
```

This code creates new contact with email `[email protected]` 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.