Hi
Instead of Short Videos it is showing long videos
public void ShortVideos() { Int32 Count = 1; var client = new RestClient("googleapis.com/youtube/v3"); var request = new RestRequest("search", Method.GET); request.AddParameter("part", "snippet"); request.AddParameter("videoDuration", "short"); request.AddParameter("type", "video"); request.AddParameter("maxResults", 50); request.AddParameter("order", "viewCount"); request.AddParameter("sortOrder", "desc"); request.AddParameter("key", "ApiKey"); var response = client.Execute<YoutubeSearchListResponse>(request); }
Thanks