campfire

Use node.js to interact with Campfire.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
campfire
0.2.29 years ago13 years agoMinified + gzip package size for campfire in KB

Readme

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

~ bash $ 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, "userid": 1, "roomid": 1, "createdat": "2010-01-13 01:00:00" } ~

License

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