Skip to content

Instantly share code, notes, and snippets.

@hjst
Created February 21, 2011 11:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hjst/836964 to your computer and use it in GitHub Desktop.
Save hjst/836964 to your computer and use it in GitHub Desktop.
Examples of Youtube API searches for videos by user AND tag
HTTP GET URIs in the form of:
http://gdata.youtube.com/feeds/api/videos/-/{http://gdata.youtube.com/schemas/2007/keywords.cat}tag?author=username
Examples:
Videos uploaded by user BBCWorldwide with tag "wildlife":
http://gdata.youtube.com/feeds/api/videos/-/{http://gdata.youtube.com/schemas/2007/keywords.cat}wildlife?author=BBCWorldwide
Videos uploaded by user BBCWorldwide with tag "china", in JSON format:
http://gdata.youtube.com/feeds/api/videos/-/{http://gdata.youtube.com/schemas/2007/keywords.cat}china?author=BBCWorldwide&alt=json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment