This code is used to update the user when a run is complete, by sending them an email via Trello.
-
Create a Trello account https://trello.com/en-GB
-
Create a board in Trello
-
Add a list to this board
-
To get an API key and API token for the Trello account use: https://developers.trello.com/v1.0/reference#understanding-nested-resources You must be logged in to the Trello account when getting this API key and API token.
-
To get the idList (https://customer.io/actions/trello/):
- create a card in the list on Trello
- click on this card then type ".json" after its url and press enter
- the output will contain the value for the idList
-
Insert the API key, API token and idList into the relevant places in the code
-
Run: python addcard.py [--runid]
Options: --runid : enter the id of the run