Phương thức này có một trường hợp sử dụng phổ biến, theo mô tả dưới đây. Các nút bên dưới phần mô tả sẽ điền các giá trị mẫu vào APIs Explorer hoặc mở APIs Explorer toàn màn hình để hiển thị mã mẫu sử dụng các giá trị đó. Các mã mẫu cũng tự động cập nhật nếu bạn thay đổi các giá trị.

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.