internal async Task <T> GetDataAsync(Feature feature, QueryType queryType, QueryOptions options) { string url = UrlBuilder.BuildUrl(_baseUrl, _apiKey, feature, queryType, options); return(await RestRequest.ExecuteAsync <T>(new Uri(url)).ConfigureAwait(false)); }
internal T GetData(Feature feature, QueryType queryType, QueryOptions options) { string url = UrlBuilder.BuildUrl(_baseUrl, _apiKey, feature, queryType, options); return(RestRequest.Execute <T>(new Uri(url))); }