Andrien Pecson
Andrien Pecson

Reputation: 282

Search a video of a playlist in youtube API

I have this as a request for youtube api in displaying videos of a particular video playlist https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId='+playlist_id+'&key={My Key}

The Problem How will I able to have a request that will search a video in that particular video playlist?

Upvotes: 0

Views: 1277

Answers (1)

Linda Lawton - DaImTo
Linda Lawton - DaImTo

Reputation: 117281

you can add the video id and have it return just that video.

videoId string
The videoId parameter specifies that the request should return only the playlist items that contain the specified video.

If the question is how do I return only the "dog" videos in the playlist, the answer is you cant. There is no free text searching in playlistitems.list

Upvotes: 0

Related Questions