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

This example retrieves the list of videos in a specified playlist. The request's playlistId parameter identifies the playlist.

Note that the API response does not include metadata about the playlist itself, such as the playlist's title and description. Additional metadata about the videos in the playlist can also be retrieved using the videos.list method.