Ramco Ramco

Ramco Ramco

  • 440
  • 3.4k
  • 529.2k

Search Keywords of Video

Jun 7 2024 4:46 PM

Hi

  I have below code and i want to get Search Keywords of that video also.

            List<VideoListResponse.Item> listVideo = new List<VideoListResponse.Item>();

            var client = new RestClient("googleapis.com/youtube/v3");
            var request = new RestRequest("search", Method.GET);
            request.AddParameter("part", "snippet");
            request.AddParameter("type", "video");


            var currentDate = DateTime.UtcNow.Date.ToString("yyyy-MM-ddT00:00:00Z");
            request.AddParameter("publishedAfter", currentDate);
            request.AddParameter("type", "video");
            request.AddParameter("order", "viewCount");
            request.AddParameter("sortOrder", "desc");
            request.AddParameter("key", "AIzaSethytrsAsidztyGul59UQ9b5LG8");

Thanks


Answers (1)