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

Zencoder Reports Wrapper#15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
schworer merged 5 commits intozencoder:masterfrommcos:master
Apr 5, 2013
Merged

Zencoder Reports Wrapper#15

schworer merged 5 commits intozencoder:masterfrommcos:master
Apr 5, 2013

Conversation

mcos
Copy link

I've added the functionality in core.py to get usage reports from the Zencoder API. It should follow the conventions already present in the file. It should also conform to the documentation which can be found here:https://app.zencoder.com/docs/api/reports/minutes.

Please let me know if there are any issues or anything further I can add!

Thanks,
-Mark

@schworer
Copy link
Contributor

Thanks for submitting!

This is a good start -- three suggestions:

  • Report.details should be changed toReport.minutes to match the API
  • The docstring onReport should be updated to someting like:Contains all API methods relating to Reports.
  • Thestart_date andend_date kwargs are assumed to be strings -- it would probably be better to allow datetime objects to be passed in, then convert them to "YYYY-MM-DD" strings before sending the request to Zencoder.

If you want to make those suggested changes, please go for it! Otherwise, I'll merge your PR and make the changes myself.

Cheers
Alex

@mcos
Copy link
Author

Excellent, I'll make those changes if you don't mind and I'll submit them in a few days, if that's cool?

Thanks for all the feedback, they definitely make sense, I just wanted to get something quick and dirty working to begin with...

Thanks,
-Mark

On Monday, October 29, 2012 at 7:31 PM, Alex Schworer wrote:

Thanks for submitting!
This is a good start -- three suggestions:
Report.details should be changed to Report.minutes to match the API
The docstring on Report should be updated to someting like: Contains all API methods relating to Reports.
The start_date and end_date kwargs are assumed to be strings -- it would probably be better to allow datetime objects to be passed in, then convert them to "YYYY-MM-DD" strings before sending the request to Zencoder.

If you want to make those suggested changes, please go for it! Otherwise, I'll merge your PR and make the changes myself.
Cheers
Alex


Reply to this email directly or view it on GitHub (#15 (comment)).

@schworer
Copy link
Contributor

Totally cool -- take your time for the changes. If you get stuck or pulled off to something else, let me know and I'll take it over.

@mcos
Copy link
Author

It's taken some time, but I've added in these changes. Let me know what you think, hopefully it works to your requirements.

Cheers,
-Mark

@schworer
Copy link
Contributor

Thanks for making these changes, I should be able to pull these in pretty easily.

@mcos
Copy link
Author

Cool, let me know if there are any issues or if more testing is required.

Cheers,
-Mark

On Sat, Feb 23, 2013 at 4:07 PM, Alex Schworernotifications@github.comwrote:

Thanks for making these changes, I should be able to pull these in pretty
easily.


Reply to this email directly or view it on GitHubhttps://github.com//pull/15#issuecomment-13997786.

schworer pushed a commit that referenced this pull requestApr 5, 2013
@schworerschworer merged commit1566c6c intozencoder:masterApr 5, 2013
@schworer
Copy link
Contributor

Merged -- thank you!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@mcos@schworer

[8]ページ先頭

©2009-2025 Movatter.jp