Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Need get by API date of repeat card. How can i do this?

Rafael_Nogueira June 19, 2020

Need get by API date of repeat card. How can i do this?

1 answer

1 accepted

0 votes
Answer accepted
milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 19, 2020

This is using py-trello

 

trello_card = client.get_card('5ee60e6d3696b52076e4d7d5')

print (trello_card.card_created_date)
Answer is in this format : 2020-06-14 07:47:57

Rafael_Nogueira June 21, 2020

Don’t have how do this using API?

milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 21, 2020

Depending on your specific requirements, you must get access to a card object.

In the example I am showing, I got the card_id because the platform I am using has a Trello module where i can get all the Card IDs of the board and the code would be applied perhaps within a for x in list_of_cards and check x.name == ‘something’:

The other way is to trap action type the changes in the board/card. That way, you get the card_id easily. And yes, the platform I am using has a Trello trigger you can configure to meet your specific needs. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events