Unomi Node
1.0.1
1.0.1
  • Apache Unomi Node.js SDK
  • Contribute
  • API
    • Profile
      • Create
      • Delete
      • Get
      • Count
      • Existing Properties
      • All Properties
      • Sessions
      • Get by Single Property
      • Query
    • Rule
      • Create
      • Get
      • Get All
    • Segment
Powered by GitBook
On this page
  • Getting Stared
  • Connecting to Unomi

Was this helpful?

Apache Unomi Node.js SDK

Node.js SDK for the Apache Unomi Customer Data Platform. Still a big work in progress!

NextContribute

Last updated 5 years ago

Was this helpful?

Getting Stared

You can install the Apache Unomi Node.js SDK using npm or yarn:

npm install --save unomi-node

# OR

yarn add unomi-node

Connecting to Unomi

You can connect to Unomi using the provided connect function:

import unomisdk from "unomi-node";

const unomi = unomisdk.connect({
  url: "http://localhost:8181",
  auth: {
    username: "karaf",
    password: "karaf"
  }
});

export default unomi;

From now, everytime we refer to the unomi variable, we're referring to the above exported function