Skip to content

Commit 316734b

Browse files
Chris McKenzieChris McKenzie
authored andcommitted
adding details method to Output object
1 parent 1ef86a5 commit 316734b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

zencoder/core.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,14 @@ def progress(self, output_id):
236236
return self.get(self.base_url + '/%s/progress' % str(output_id),
237237
data=data)
238238

239+
def details(self, output_id):
240+
"""
241+
Gets the given output id's details
242+
"""
243+
data = {'api_key': self.api_key}
244+
return self.get(self.base_url + '/%s' % str(output_id),
245+
data=data)
246+
239247
class Job(HTTPBackend):
240248
"""
241249
Contains all API methods relating to transcoding Jobs.

0 commit comments

Comments
 (0)