Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

Youtube api v3 Channel filtering videos

$
0
0

I am fetching youtube channel video by first, quering 2FrelatedPlaylists of youtube channel:

https://www.googleapis.com/youtube/v3/channels?part=contentDetails&id='+CHANNEL_ID+'&fields=items(contentDetails%2FrelatedPlaylists%2Fuploads)&key='+API_KEY;

Then I get uploads url:

 contentDetails.relatedPlaylists.uploads

Then I fetch videos with plalyistItems:

https://developers.google.com/youtube/v3/docs/playlistItems

If I leave default url it shows all videos (any type including shorts).

I need to get rid of shorts.

From the next topic: how do I get youtube shorts from youtube api data v3

If I replace prefix with one of examples I noticed I can choose beetwen videos (UULF) or Live streams (UULV).

Is there a way to show both videos and Live streams in single query?


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>