Ramco Ramco

Ramco Ramco

  • 439
  • 3.4k
  • 545.1k

Shorts Video in YouTube

Feb 3 2023 3:55 AM

Hi

 In Shorts if i want only Sports Shorts what changes need to be done

var client = new RestClient("googleapis.com/youtube/v3");

            var request = new RestRequest("search", Method.GET);
            request.AddParameter("part", "snippet");

            request.AddParameter("q", "short videos category");
            request.AddParameter("type", "video");
            request.AddParameter("maxResults", 15);
            request.AddParameter("videoCategoryId", "42");
            request.AddParameter("key", "ApiKey");

Thanks


Answers (1)