diff --git a/trello/board.py b/trello/board.py index 21b5805c..81e73e1f 100644 --- a/trello/board.py +++ b/trello/board.py @@ -327,12 +327,15 @@ def get_members(self, filters=None): return members - def fetch_actions(self, action_filter, action_limit=50, since=None): +def fetch_actions(self, action_filter, action_limit=50, before=None, since=None): query_params = {'filter': action_filter, 'limit': action_limit} if since: query_params["since"] = since + if before: + query_params["before"] = before + json_obj = self.client.fetch_json('/boards/' + self.id + '/actions', query_params=query_params) self.actions = json_obj