Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit07d9466

Browse files
author
Alex Schworer
committed
Update docstring onReport.minutes
Includes an example for filtering by date.
1 parent47b0600 commit07d9466

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

‎zencoder/core.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,17 @@ def __init__(self, *args, **kwargs):
374374

375375
defminutes(self,start_date=None,end_date=None,grouping=None):
376376
"""
377-
Gets a detailed Report of encoded minutes and billable minutes
378-
for a date range
377+
Gets a detailed Report of encoded minutes and billable minutes for a
378+
date range.
379+
380+
**Warning**: `start_date` and `end_date` must be `datetime.date` objects.
381+
382+
Example:
383+
import datetime
384+
start = datetime.date(2012, 12, 31)
385+
end = datetime.today()
386+
data = z.report.minutes(start, end)
387+
379388
@param start_date: Start date of report (If not submitted,
380389
API defaults to 30 days ago)
381390
@param end_date: End date of report (If not submitted, API defaults to

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp