Ramco Ramco

Ramco Ramco

  • 441
  • 3.4k
  • 522.8k

Most Viewed on Youtube

Jan 26 2023 4:12 AM

Hi

  I have below code . I want to add condition Today , Last 78 days etc. Can Category wise possible

using (var yt = new YouTubeService(new BaseClientService.Initializer()
            {
                ApiKey = "AJzaSyAu9f5BgkdhyjaywwsUQ9b5Ls8XYFG8",
            }))
            {
                StringBuilder htmlTable = new StringBuilder();

                var request = yt.Search.List("snippet");
                request.Order = Google.Apis.YouTube.v3.SearchResource.ListRequest.OrderEnum.ViewCount;
                var response = request.Execute();
                var objResult = response.Items.ToList();

 


Answers (3)