aboutsummaryrefslogtreecommitdiff
path: root/pyactivecollab.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyactivecollab.py')
-rw-r--r--pyactivecollab.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pyactivecollab.py b/pyactivecollab.py
index d8ae306..e37d37a 100644
--- a/pyactivecollab.py
+++ b/pyactivecollab.py
@@ -95,3 +95,7 @@ class ActiveCollab(object):
def get_time_records(self, user_id: str) -> Dict:
"""Get the time records for a user."""
return self.get('/users/{}/time-records'.format(user_id))
+
+ def get_tasks_by_project(self, project_id: str) -> Dict:
+ """Get the tasks for a specific project."""
+ return self.get('/projects/{}/tasks'.format(project_id))