1.0.1 • Published 4 years ago

klaviyo-metrics-node v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

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