1.0.4 • Published 7 months ago

kli-cm-api v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

kli-cm-api

Disclaimer: This is a fork of kril-cm-api that is currently WIP to fix bugs and update it to Campaign Monitor API v3.3

This library uses Campaign Monitor API v3.3

Getting started

npm i kli-cm-api

usage

import { Transactional } from 'kli-cm-api'

try {
  const apiKey = 'xxx='
  const transactional = new Transactional({ apiKey })
  const data = await transactional.getStatistics()
  console.log(data)
} catch (err) {
  console.log(err)
}

If you are using javascript don't forget to add @ts-check at the top of your file for a better experience

Modules

Campaign Monitor API documentation.

ModuleDescription
AccountGives you access to core account information.
CampaignCovers all the campaign related functionality including creating draft campaigns, selecting recipients and sending.
ClientContains all the functionality you need to manage the clients in your account
JourneyCovers read-only journey functionality including viewing all journeys, journey summary, and detailed journey reporting.
ListCovers all your list management needs.
SegmentSegments allow you to create targeted sub-groups of subscribers based on conditions you set.
SubscriberEverything you need to work with subscribers in your account.
TemplateTemplates make it easy for your clients to send great looking emails by just adding their own content.
TransactionalTransactional emails are triggered by your own site or app, typically in response to a user's action
1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago