Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Archived cards? #301

Open
boulderresident opened this issue Feb 5, 2020 · 2 comments
Open

Archived cards? #301

boulderresident opened this issue Feb 5, 2020 · 2 comments

Comments

@boulderresident
Copy link

Hi, I don't see archived cards or lists.. in any of the methods... how do we access archived content on a board? (.. appreciate if you could point me in the right direction.. tnx.

@boulderresident
Copy link
Author

I see/found it. .. I was looking for archived cards in the various lists (.list_lists() method) which appear to exclude such cards, where .all_cards() method appears to include all (even archived) cards. I also available via .closed_cards()

@leo-smi
Copy link

leo-smi commented Oct 19, 2021

For those who needs more docs:
https://py-trello-dev.readthedocs.io/en/latest/trello.html#module-trello.board

all_boards = client.list_boards()
for board in all_boards:
    print(board.closed_lists())
    print(board.closed_cards())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants