YouTube API v3 batch processing

后端 未结 1 701
半阙折子戏
半阙折子戏 2021-01-06 01:26

does YouTube API v3 support batch processing? I\'ve wrote my code using normal individual requests, but it takes forever to execute since it\'s about 40000 requests .

相关标签:
1条回答
  • 2021-01-06 01:51

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

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

    "The v3 API supports one of the batch processing use cases that the v2 API had supported. The v3 API's channels.list, channelSections.list, guideCategories.list, playlistItems.list, playlists.list, subscriptions.list, videoCategories.list, and videos.list methods all support an id parameter, which can be used to specify a comma-delimited list of IDs (video IDs, channel IDs, etc.). Using those methods, you can retrieve a list of multiple resources with a single request."

    0 讨论(0)
提交回复
热议问题