public async Task <StandardInsightResponse> GetNumberInsightStandardAsync(StandardNumberInsightRequest request, Credentials creds = null) { var response = await ApiRequest.DoGetRequestWithQueryParametersAsync <StandardInsightResponse>( ApiRequest.GetBaseUri(ApiRequest.UriType.Api, "/ni/standard/json"), ApiRequest.AuthType.Query, request, creds ?? Credentials ); ValidateNumberInsightResponse(response); return(response); }
public StandardInsightResponse GetNumberInsightStandard(StandardNumberInsightRequest request, Credentials creds = null) { return(GetNumberInsightStandardAsync(request, creds).GetAwaiter().GetResult()); }