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

Add support for getting a cards cover property #355

Open
augusto-herrmann opened this issue May 24, 2022 · 0 comments
Open

Add support for getting a cards cover property #355

augusto-herrmann opened this issue May 24, 2022 · 0 comments

Comments

@augusto-herrmann
Copy link

The Trello API offers a cover property for cards (see docs), but it is not being loaded into the Card object here.

It should be simple to at least "get" the property.

Workaround I'm using for now (might be useful to someone else):

def get_cover(card: 'Card') -> dict:
    """Gets the card's cover."""
    return card.client.fetch_json(f'/cards/{card.id}/cover')
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

1 participant