1.0.8 • Published 7 months ago
uclbrt-node v1.0.8
uclbrt node SDK
NodeJS SDK for the UCLBRT API (https://uclbrt.com). This SDK replicate the logic from the official PHP SDK (https://packagist.org/packages/uclbrt/api-sdk)
Installation
npm install uclbrt-node
Usage
import { Uclbrt, UserConfig } from 'uclbrt-node';
const uclbrtConfig: UserConfig = {
accountSid: 'xxxxx',
authToken: 'xxxx',
};
const uclbrt = new Uclbrt(uclbrtConfig);
uclbrt.setCommunityNo(123456789);
const res = await uclbrt.fetchRoomInfo();
console.log(res);