Handling YouTube APIs v3

Does the YouTube API v3 support batch processing? I wrote my code using regular individual requests, but it runs forever, as it contains about 40,000 requests.

+5
source share
1 answer

Yes, batch processing is supported in version 3, but not like v2.

https://developers.google.com/youtube/v3/guides/implementation/deprecated#Batch_Processing

"API v3 supports one of the batch processing options supported by API v2. API channels v3, channelSections.list, guideCategories.list, playlistItems.list, playlists.list, subscriptions.list, videoCategories.list and videos.list support the id parameter ", which can be used to specify a list of identifiers with a comma identifier (video identifiers, channel identifiers, etc.). Using these methods, you can get a list of several resources with one request."

+4
source

Source: https://habr.com/ru/post/1211244/


All Articles