Skip to content
This repository has been archived by the owner on Sep 12, 2020. It is now read-only.
/ node-campfire Public archive

Use node.js to interact with Campfire.

License

Notifications You must be signed in to change notification settings

tristandunn/node-campfire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-campfire

Use node.js to interact with Campfire.

Example

  1. Install node.js.
  2. Change YOUR_ACCOUNT, YOUR_TOKEN and ROOM_ID in examples/ping.js.
  3. Run the example with node examples/ping.js.
  4. Send a "PING" message to the room you set in the configuration via the web interface.

Sample Output

$ node examples/ping.js
PING received.
PONG sent at 2010/01/13 01:00:00 +0000.
Received unknown message:
{
 "body": "PONG",
 "type": "TextMessage",
 "id": 1,
 "user_id": 1,
 "room_id": 1,
 "created_at": "2010-01-13 01:00:00"
}

License

node-campfire uses the MIT license. See LICENSE for more details.

About

Use node.js to interact with Campfire.

Resources

License

Stars

Watchers

Forks

Packages

No packages published