Socket
Socket
Sign inDemoInstall

kli-cm-api

Package Overview
Dependencies
7
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    kli-cm-api

Fork of A typescript library for the Campaign Monitor API


Version published
Weekly downloads
2
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 29 Sep 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc