コード例 #1
0
        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);
        }
コード例 #2
0
 public StandardInsightResponse GetNumberInsightStandard(StandardNumberInsightRequest request, Credentials creds = null)
 {
     return(GetNumberInsightStandardAsync(request, creds).GetAwaiter().GetResult());
 }