Interested in the YouTUBE API. It is necessary to display a list of ALL, absolutely all playlists (in fact, their id and names are sufficient). channel, and then on opred. playlistId already display all videos from the playlist (again, id and titles are enough). With this channelId is known.

Decided to use

  • playlists.list:

     https://www.googleapis.com/youtube/v3/playlists?part=snippet&channelId=[ID_Канала]&maxResults=50&key=[API_Token] 
  • playlistItems.list:

     https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=[ID_Канала]&maxResults=50&key=[API_Token] 

The problem is that the maximum number of elements on the page that is returned to the page is 50, and I did not find either how to increase this quantity, or how to shift the initial value in order to receive records in batches.

  • You did not look back? nextPageToken and prevPageToken should be returned nextPageToken and can be used in pageToken , if I'm not mistaken. - Visman
  • @Visman Aahah) I just didn’t enter pageToken)) Thanks - MaxLevs

0