此方法有一个常见的用例,如下所述。说明下方的按钮使用示例值填充 API Explorer,或打开全屏 API Explorer 显示使用这些值的代码示例。如果您更改值,代码示例也会动态更新。

This example retrieves comment replies for a specified comment, which is identified by the parentId request parameter. In this example, the parent comment is the first comment on a video about Apps Script. The video was chosen because this particular comment had multiple replies (in multiple languages) and also because Apps Script is really useful.