JSPM

seneca-ifttt-maker

0.2.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q26606F
  • License MIT

Seneca plugin to send data to IFTTT Maker

Package Exports

  • seneca-ifttt-maker

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (seneca-ifttt-maker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.