public SearchListResponse Search(SearchResource.ListRequest request) { var parameters = ParameterUtils.CreateParameterKeyValuePairs(request); parameters.Add(new KeyValuePair <string, string>("key", _apiKey)); var queryString = string.Join("&", parameters.Select( p => string.IsNullOrEmpty(p.Value) ? Uri.EscapeDataString(p.Key) : string.Format("{0}={1}", Uri.EscapeDataString(p.Key), Uri.EscapeDataString(p.Value)))); var url = _restApiUrl + "/youtube/v3/search?" + queryString; var response = DoRestCall(url, "GET"); return(JsonHelper.Deserialize <SearchListResponse>(response)); }