Check out py-trello on GitHub.
To run your script when changes are made to your Trello boards, lists, and cards, use the Trello Trigger.
When you add a Trello Trigger to your script, you will be prompted to link an account, if you have not done so already.
Boards = [{name : String,id : String},]
Select a Board
Card Names
Card IDs
Card Descriptions
Card Lists
This will return up to 1000 of the most-recent cards on your Trello board.
Select a Board
Select a List
Card Name
Card Description
Due Date for the Card
Attachment URL
Attachment Name
Card ID - The ID of the newly created card.
Input the ID of the card you would like to update. (The ID can be obtained by searching for a card, or getting cards from a board in a previous Trello step.)
Card Name
Card Description
Attachment URL
Attachment Name
Select the board you want to search.
Input a search term. The card name must start with this term in order to match the query.
Cards = [{name : String,id : String,desc : String,list : String},]
This will return up to 1000 matching cards.
Select a Target Board
Select a Target List
Input the card ID to move
Select a Position
Input the card ID to move
Input the card ID to delete