Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/me/videos and the data dictionary #40

Closed
radoslawoska opened this issue Sep 26, 2014 · 2 comments
Closed

/me/videos and the data dictionary #40

radoslawoska opened this issue Sep 26, 2014 · 2 comments

Comments

@radoslawoska
Copy link

Hi. Could you please tell me why the data dictionary is not respected (v variable returns default values like 25 videos per page and so on)

v = vimeo.get('/me/videos', data = { 'per_page':'1', 'query':'Untitled', 'sort':'date' , 'direction':'desc'})

thank you
Radek

@sclm
Copy link
Contributor

sclm commented Oct 1, 2014

HI @radoslawoska,

In requests the data arg is for providing data in the body of a request. Since you're making a GET request these may not be sent, but they are not used by our server.

What you probably want, judging from the values you're setting, is to use params (request's docs).

@sclm sclm closed this as completed Oct 1, 2014
@radoslawoska
Copy link
Author

Thank you.

r

On 1 paź 2014, at 22:32, Stephen McMillen notifications@github.com wrote:

HI @radoslawoska,

In requests the data arg is for providing data in the body of a request. Since you're making a GET request these may not be sent, but they are not used by our server.

What you probably want, judging from the values you're setting, is to use params (request's docs).


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants