klaviyo-metrics-node

1.0.1 • Public • Published

Klaviyo-Metrics Node

npm version install size Open Source Helpers

Klaviyo-metrics node is a module to integrate Klaviyo's Metrics API easily in a NodeJS environment.

Installation

NPM:

$ npm install klaviyo-metrics-node

Usage

1- Include the library

const KlaviyoMetricsClient = require("klaviyo-metrics-node");

2- Create a new instance of the client

const kc = new KlaviyoMetricsClient("PRIVATE_API_KEY");

3- Get what you want from the Metrics API

Examples

All Metrics

All Metrics Timeline

Metric Export

Metric Timeline

Credits

klaviyo-node is inspired by the python sdk provided by the official company maintaining Klaviyo. It is intended to simplify the process for nodejs developers and give them a tool to use when integrating with Klaviyo.

License

MIT

Package Sidebar

Install

npm i klaviyo-metrics-node

Weekly Downloads

25

Version

1.0.1

License

MIT

Unpacked Size

20.1 kB

Total Files

13

Last publish

Collaborators

  • ayadibaha