YouTube Playlist Items
A playlist item is a video, which is part of a playlist.
Playlist Items request allows list, insert, update and delete methods. However, we will look into the list request in this session.
List request returns a list of playlist Items based on the search query parameters.
It has a quota cost of 1 per request.
API Documentation: https://developers.google.com/youtube/v3/docs/playlistItems
Sample Request and Response
Request
- HTTP Request: GET https://www.googleapis.com/youtube/v3/playlistItems
- Required Parameter to specify properties to include in the: part =
snippet
,contentDetails
- Required Parameter to identify channel: channelId = {channelId}
- Required Parameter to specify properties to include in the: part =
Response
- Check the video of this article to see what the response looks like.
POSTMAN Collection
The POSTMAN collection can be downloaded from the below GitHub repository.
Overall
We understood the YouTube Data API playlist items request and have successfully executed a list request.