activecampaign-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Activecampaign Typescript SDK

A fully typed Activecampaign node.js SDK. Updated as of March 2023.

Usage

yarn add activecampaign-sdk
import { ActiveCampaign, DefaultActiveCampaign } from 'activecampaign-sdk';

const client = new ActiveCampaign({
    BASE: 'https://your-account-name.api-us1.com/api/3',
    HEADERS: { 'Api-Token': 'your-api-token' },
}).default;

Motivations

  • Activecampaign isn't able to provide a working node.js SDK, even less with proper typescript definitions.
  • I wish this didn't exist

About this SDK

This SDK has been generated using the openapi-typescript-codegen module with the following command :

npx openapi-typescript-codegen --input openapidescription.json --output ./src/core/activecampaign/sdk -c node --name ActiveCampaign --exportModels false --postfix ActiveCampaign

You can find the latest OpenAPI definitions file can be downloaded here : https://dash.readme.com/api/v1/api-registry/[hash]. The latest hash is available in their documentation when viewing the node.js examples.

Keywords

none

Install

DownloadsWeekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

1.23 MB

Total Files

61

Last publish

Collaborators

  • exilz