此方法有一個常見用途,說明如下。說明下方的按鈕會將範例值填入 API Explorer,或是開啟全螢幕 APIs 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.