0.0.2 • Published 10 years ago

idobata-client v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
10 years ago

(UNOFFICIAL) Idobata Client for Node.js

Post messages in HTML format via generic webhook.

Usage

API_TOKEN     = process.env.HUBOT_IDOBATA_API_TOKEN
IdobataClient = require('idobata-client')

module.exports = (robot) ->
  robot.respond /HELLO$/i, (msg) ->
    client = new IdobataClient('https://idobata.io', API_TOKEN)
    client.postViaWebhook(msg.message.data.room_id, format: 'html', source: '<h1>hello</h1>')
0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago