KanbanTool.getNewCards()

Gets the newly created cards

Queries the board for the cards that where added recently.

Usage

Hover over inputs/exits for more info.

var KanbanTool = require('machinepack-kanbantool');


// Gets the newly created cards

KanbanTool.getNewCards({

domain: 'yourcompany',

apiToken: '11A1AA1AAA1A',

boardId: 12345,

fromDate: 12345,

toDate: 12345,

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function (result) {

 

},

});

Inputs

domain required

The name of the domain of your company on KanbanTool.

'yourcompany'
apiToken required

The KanbanTool API key (https://DOMAIN.kanbantool.com/profile/api_token).

'11A1AA1AAA1A'
boardId required

The board ID for which to check for new cards.

12345
fromDate required

The timestamp from which to start checking.

12345
toDate required

The timestamp of where to end checking.

12345

Exits

error

An unexpected error occurred.

success

OK.

{ cards: [] }