Skip to content

Commit 470b7a0

Browse files
Chris McKenzieChris McKenzie
authored andcommitted
adding progress to Job api
1 parent 316734b commit 470b7a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

zencoder/core.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,10 @@ def details(self, job_id):
289289
data = {'api_key': self.api_key}
290290
return self.get(self.base_url + '/%s' % str(job_id), data=data)
291291

292+
def progress(self, job_id):
293+
data = {'api_key': self.api_key}
294+
return self.get(self.base_url + '/%s/progress' % str(job_id), data=data)
295+
292296
def resubmit(self, job_id):
293297
"""
294298
Resubmits a job

0 commit comments

Comments
 (0)