diff --git a/trello/board.py b/trello/board.py index 52025231..990986cc 100644 --- a/trello/board.py +++ b/trello/board.py @@ -361,6 +361,18 @@ def remove_member(self, member): return json_obj def fetch_actions(self, action_filter, action_limit=50, before=None, since=None): + """Returns all actions that conform to the given filters. + + :action_filter: str of possible actions separated by comma ie. 'createCard,updateCard' + :action_limit: int of max items returned + :before: datetime obj + :since: datetime obj + + More info on action filter values: + https://developers.trello.com/advanced-reference/board#get-1-boards-board-id-actions + + :rtype: json list of past actions + """ query_params = {'filter': action_filter, 'limit': action_limit} if since: