🚫 This project is no longer maintained.
This connector uses the Trello REST API to fetch information about lists and cards for one or more boards. The Simple Data Pipe SDK is used to store the data in Cloudant. One JSON record is created for each list and card in the selected board(s):
#####Board record structure
{
"..." : "<cloudant document properties such as _id and _rev>",
"type": "board",
"data": {
"<board_properties>" : "see https://developers.trello.com/advanced-reference/member#get-1-members-idmember-or-username-boards"
},
"pt_type": "<trello_board_id>"
}
#####List record structure
{
"..." : "<cloudant document properties such as _id and _rev>",
"type": "list",
"data": {
"<list_properties>" : "see https://developers.trello.com/advanced-reference/board#get-1-boards-board-id-lists"
},
"pt_type": "<trello_board_id>"
}
#####Card record structure
{
"..." : "<cloudant document properties such as _id and _rev>",
"type": "card",
"data": {
"<card_properties>" : "see https://developers.trello.com/advanced-reference/board#get-1-boards-board-id-cards"
},
"pt_type": "<trello_board_id>"
}
Need to load data from other sources? Check out the connector repository.
Verify the following:
- You have a valid user id for the Trello board you want the Simple Data Pipe to access.
- The Trello board is configured to allow application access.
- You are registered as a Trello Developer to configure OAuth access for the Simple Data Pipe.
Deploy the Simple Data Pipe in Bluemix using the Deploy to Bluemix button or manually.
This connector does not require any additional Bluemix service.
When you follow these steps to install this connector, add the following line to the dependencies list in the package.json
file:
"simple-data-pipe-connector-trello": "git://github.com/ibm-cds-labs/simple-data-pipe-connector-trello.git",
You need to register the Simple Data Pipe application before you can use this connector to load data.
- TODO? Yup!
To configure and run a pipe
- Open the Simple Data Pipe web console.
- Select Create A New Pipe.
- Select Trello for the Type when creating a new pipe.
- In the Connect page, enter the application id and secret from the Trello application settings page.
- When prompted, authorize the Simple Data Pipe application to access your Trello boards in read-only mode.
- Select a board (or All boards) from which to fetch list and card information.
- Schedule or run the data pipe now.
Copyright [2016] IBM Cloud Data Services
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.