Is there a YouTube GData API parameter for a query that will only return entries with a minimum and/or a maximum given duration?
I’ve found the “duration” parameter but it only accepts the values “short”, “medium”, and “long”.
Is there a YouTube GData API parameter for a query that will only return
Share
Ok, found it!
You need to integrate such query conditions into the fields parameter, which operates on a syntax similar to xpath:
So for what I was looking for, the fields parameter value would have been:
https://developers.google.com/youtube/2.0/developers_guide_protocol_partial