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

How to use the Youtube Data API to Get a List of Shorts

$
0
0

It seems like the Youtube V3 Data Api does support Youtube Shorts. I can get information about a short via

https://developers.google.com/youtube/v3/docs/videos/list

This endpoint requires a list of IDs. How do I get that list of IDs without scraping youtube.com/user/shorts for the shorts themselves?

Is there a mechanism to get that list of short ids somewhere?

The typical mechanism of using the playlistItems would not work in this situation, since the relatedPlaylists object only shows an uploads Playlist. Also pulling the list of all Youtube Playlists for a channel typically includes a "#Shorts" playlist, but these seems to be shorts that were re-uploaded and have a separate ID than their shorts counterpart.

"relatedPlaylists": {"likes": "","uploads": "UUOpuMFmU3RyTeXejHWldXkA"}

I would appreciate any help / assistance in this matter :)


Viewing all articles
Browse latest Browse all 3642

Trending Articles



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