Ramco Ramco

Ramco Ramco

  • 419
  • 3.4k
  • 527.8k

Youtube Video Search Keywords

Apr 14 2024 6:57 AM

Hi

  I have below code but how i can get Video Id , Video Title , Description , Search Key words , Likes,comments etc.

var client = new RestClient("googleapis.com/youtube/analytics/v1/reports");
            var request = new RestRequest("query", Method.GET);

            request.AddParameter("ids", "channel==UCgKHSHDGgG-m_nNoaVw");
            request.AddParameter("metrics", "views");
            request.AddParameter("dimensions", "insightTrafficSourceType,insightTrafficSourceDetail");
            request.AddParameter("key", "AIzaAHKDGDYHDLDKS9G8");

            //var response = client.Execute<YoutubeSearchListResponse>(request);
            var response = client.Execute(request);

Thanks


Answers (3)