Question

how can I get the number of playlists in a youtube channel and in each playlist details about number of videos that it contains

the playlistitems.list returns all the uploaded videos. I need them sorted in there lists to use them in my app

Was it helpful?

Solution

Use the playlists#list method with a channelId parameter to get the playlists and, for each playlist, call playlistItems#list with the playlistId parameter.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top