From a39b61eb6c6cb7a6e8f7374f0e13a109a04c7dc7 Mon Sep 17 00:00:00 2001 From: Peter Portante Date: Thu, 16 Jul 2015 11:05:18 -0400 Subject: [PATCH] Add ability to subscribe to a card --- trello/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/trello/__init__.py b/trello/__init__.py index 05c01cb4..8c31ec26 100644 --- a/trello/__init__.py +++ b/trello/__init__.py @@ -955,6 +955,12 @@ def assign(self, member_id): http_method='POST', post_args={'value': member_id, }) + def subscribe(self): + self.client.fetch_json( + '/cards/' + self.id + '/subscribed', + http_method='PUT', + post_args={'value': True, }) + def comment(self, comment_text): """Add a comment to a card.""" self.client.fetch_json(