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

Update README #226

Merged
merged 1 commit into from
Jul 1, 2014
Merged

Conversation

shivamd
Copy link
Contributor

@shivamd shivamd commented Jun 11, 2014

Added example on how to search for videos based on query and user.

The desired query:
https://www.youtube.com/user/Vsauce/search?query=some+surprising+things

Searching for videos based on query and user doesn't work with the following example:
client.videos_by(:user => 'vsauce', :query => "some surprising things")

After looking playing around with different parameters I found the solution.
client.videos_by(:author => 'vsauce', :query => "some surprising things")

Not sure why this doesn't work with user but author, but I added an example in README for future users stumbling across this problem.

#223

Added example on how to search for videos based on query and user.
kylejginavan added a commit that referenced this pull request Jul 1, 2014
@kylejginavan kylejginavan merged commit 68f6204 into kylejginavan:master Jul 1, 2014
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

Successfully merging this pull request may close these issues.

2 participants