1.0.23 • Published 1 year ago

exponea-client v1.0.23

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

💬🎥 exponea-client

client for exponea API.

Usage

Import

const { ExponeaAPI } = require("exponea-client");

// or

import { ExponeaAPI } from "exponea-client";

Create an instance

const api = new ExponeaAPI(
    "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "api-key",
    "api-secfret"
);

Methods (WIP)

  • getSystemTime
const response = await api.getSystemTime();

// 1655825898.9565847
  • updateCustomerProperties
  • addEvent
const eventResponse = await api.addEvent({
    customer_ids: {
        email: "test@email.com"
    },
    properties: {
        valid_until: new Date(2022, 12, 31).toString(),
        action: "accept",
        category: "brand",
        source: "web",
    },
    timestamp: new Date().getTime(),
    event_type: "consent",
});
  • batchCommand
  • retrieveCustomerAttributes
  • exporAlltCustomer
  • exportCustomer
  • exportEvent
1.0.23

1 year ago

1.0.20

2 years ago

1.0.19

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.8

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.0

2 years ago