node-red-contrib-trello-basis
v0.3.3
Published
A set of Node-RED nodes to interact with the Trello API.
Downloads
24
Readme
node-red-contrib-trello-basis
A set of Node-RED nodes to interact with the Trello API.
Installation
Run the following command in the root directory of your Node-RED install:
$ npm install -s node-red-contrib-trello-basis
Usage
WARNING:
TheDELETE
action is not reversible.
To learn more about Adding Nodes, take a look through Node-RED documents.
You can use a mustache-syntax to include variables from msg
For example, dynamically changing the Path field:
Configure the Path field on the trello node to be
/boards/{{payload.id}}/lists
.Add a Function node and copy the following code into the Function field:
msg.payload = { "id": "YOUR_BOARD_ID" }; return msg;
Wire the function and trello nodes.
Acknowledgements
This project uses the following open source software:
- node-trello for communicating with the Trello API.
- url-join for joining an absolute and a relative URL.
- mustache for templating the URL.
License
This project is released under the MIT License.