tristandunn / Node Campfire
Licence: mit
Use node.js to interact with Campfire.
Stars: ✭ 55
Programming Languages
javascript
184084 projects - #8 most used programming language
node-campfire
Use node.js to interact with Campfire.
Example
- Install node.js.
- Change
YOUR_ACCOUNT
,YOUR_TOKEN
andROOM_ID
in examples/ping.js. - Run the example with
node examples/ping.js
. - 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.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].