Basic example using Circuit Node.js SDK. Two bots login and send text message to eachother.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 8f61793 Sep 11, 2018

README.md

node-sdk-example

Example for the circuit-sdk. The example shows how to logon to circuit, register for events, lookup a conversation, send a message, attach files to a message, send a comment.

Requirements

Getting Started

Use your own bot credentials (optional)

Run the app

    git clone https://github.com/circuit/node-sdk-example.git
    cd node-sdk-example
    npm install
    node index

Hint: pipe the logs to bunyan to get a nicer console output: node index | node_modules/.bin/bunyan