0.2.1 • Published 8 years ago

seneca-ifttt-maker v0.2.1

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

seneca-ifttt-maker

Travis bitHound bitHound npm

Seneca plugin to send data to IFTTT Maker

Requirements

Node.js >= v6

Install

$ npm i seneca seneca-ifttt-maker

Usage

// the plugin will create actions for each event name specified
require('seneca')()
  .use(require('seneca-ifttt-maker'), {
    events: [
      'my_event',
      'another_event'
    ],
    key: 'MY_IFTTT_MAKER_KEY'
  });

Action Patterns

Send IFTTT Maker Request

role:ifttt-maker, cmd:send

Required arguments:

  • event - event as configured via options. test_event available by default, if none specified.

Optional arguments:

  • method - GET or POST
  • value1 - Value1 value
  • value2 - Value2 value
  • value3 - Value3 value

Returns undefined upon success.

License

© 2016 Christopher Hiller. Licensed MIT.