1.0.2 • Published 4 years ago

hcb-redis-sdk v1.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

Honeycomb Redis SDK

Installation

npm i hcb-redis-sdk

Usage

const HCBRedis = require("hcb-redis-sdk");
const hcbsdk = new HCBRedis({port: number, host: string, password: string});

Brivo Functions

brivoSet config definition

interface config {
    buildingID: string;
    client: {
        id: string;
        secret: string;
    }
}
const HCBRedis = require("hcb-redis-sdk");
const hcbsdk = new HCBRedis({port: number, host: string, password: string});

hcbsdk.brivoSet(config);

brivoGet response definition

interface response {
    error: any;
    res: {
        buildingID: string;
        client: {
            id: string;
            secret: string;
        }
    }
}
const HCBRedis = require("hcb-redis-sdk");
const hcbsdk = new HCBRedis({port: number, host: string, password: string});

hcbsdk.brivoGet(buildingID);