send-client
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Sitecore Send TS Client (Unofficial)

This is a client for the Sitecore Send API.

!!! WARNING !!!

Please use it only on server side, as API key is exposed to the public otherwise.

Installation

npm install send-client

Usage

import { SendClient } from 'send-client';

const send = new SendClient({
    apiKey: 'YOUR_API_KEY',
});

const lists = await send.lists.getAll();

const subscribers = await send.subscribers.fromList('LIST_ID');

Readme

Keywords

none

Package Sidebar

Install

npm i send-client

Weekly Downloads

4

Version

0.1.1

License

MIT

Unpacked Size

105 kB

Total Files

27

Last publish

Collaborators

  • izharikov