Skip to content

Basic example using Circuit Node.js SDK. Two bots login and send text messages to each other.

Notifications You must be signed in to change notification settings

circuit/node-sdk-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-sdk-example

Run on Repl.it License

Example for the Circuit Node SDK. The example shows how to logon to circuit, register for events, lookup a conversation, send a message/reply, attach files to a message and more.

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

You may login as maeva.barnaby@mailinator.com to https://circuitsandbox.net and verify the sent messages.

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

About

Basic example using Circuit Node.js SDK. Two bots login and send text messages to each other.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •