Commit 3a67edd1 by David Adams

Add client handling for video settings api.

parent 78aa2a9e
...@@ -104,6 +104,13 @@ class Course(object): ...@@ -104,6 +104,13 @@ class Course(object):
""" """
path = 'courses/{0}/problems/'.format(self.course_id) path = 'courses/{0}/problems/'.format(self.course_id)
return self.client.get(path, data_format=data_format) return self.client.get(path, data_format=data_format)
def video_settings(self, data_format=DF.JSON):
"""
Get the settings used by the pipeline to process the logs.
"""
path = 'courses/{0}/videos/settings/'.format(self.course_id)
return self.client.get(path, data_format=data_format)
def videos(self, start_date=None, end_date=None, data_format=DF.JSON): def videos(self, start_date=None, end_date=None, data_format=DF.JSON):
""" """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment