How to search a single userโ€™s video using the Youtube API?

I am creating a website for streaming music using the Youtube API, in which I upload all my videos using my account and get my own videos using a specific channel.

I would like to know if this is possible and how to search in the video uploaded by the user, i.e. the search should return results containing only the videos that I uploaded.

Thanks!!!

+4
source share
1 answer

Assuming you are using the v1 / v2 YouTube data API, the appropriate option to add author=USER to your search query, where USER is either a YouTube username or a YouTube channel identifier.

This is described at https://developers.google.com/youtube/2.0/reference#authorsp

0
source

All Articles