Ramco Ramco

Ramco Ramco

  • 829
  • 2.3k
  • 198.3k

Shorts Video in YouTube

Feb 3 2023 3:55 AM


 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");


Answers (1)