Skip to content

Commit

Permalink
1.6.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloudmersive committed Nov 15, 2020
1 parent 24f0fb9 commit 85b2786
Show file tree
Hide file tree
Showing 42 changed files with 6,066 additions and 29 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The validation APIs help you validate data. Check if an E-mail address is real.
[Cloudmersive Validation API](https://www.cloudmersive.com/validate-api) provides data validation capabilities for validating email addresses, phone numbers, IP addresses, and many other types of business data.

- API version: v1
- Package version: 1.6.6
- Package version: 1.6.7


## Requirements
Expand Down Expand Up @@ -93,12 +93,17 @@ Class | Method | HTTP request | Description
*AddressApi* | [**addressGetCountryCurrency**](docs/Api/AddressApi.md#addressgetcountrycurrency) | **POST** /validate/address/country/get-currency | Get the currency of the input country
*AddressApi* | [**addressGetCountryRegion**](docs/Api/AddressApi.md#addressgetcountryregion) | **POST** /validate/address/country/get-region | Get the region, subregion and continent of the country
*AddressApi* | [**addressGetTimezone**](docs/Api/AddressApi.md#addressgettimezone) | **POST** /validate/address/country/get-timezones | Gets IANA/Olsen time zones for a country
*AddressApi* | [**addressNormalizeAddress**](docs/Api/AddressApi.md#addressnormalizeaddress) | **POST** /validate/address/street-address/normalize | Normalize a street address
*AddressApi* | [**addressParseString**](docs/Api/AddressApi.md#addressparsestring) | **POST** /validate/address/parse | Parse an unstructured input text string into an international, formatted address
*AddressApi* | [**addressReverseGeocodeAddress**](docs/Api/AddressApi.md#addressreversegeocodeaddress) | **POST** /validate/address/geocode/reverse | Reverse geocode a lattitude and longitude into an address
*AddressApi* | [**addressValidateAddress**](docs/Api/AddressApi.md#addressvalidateaddress) | **POST** /validate/address/street-address | Validate a street address
*AddressApi* | [**addressValidateCity**](docs/Api/AddressApi.md#addressvalidatecity) | **POST** /validate/address/city | Validate a City and State/Province combination, get location information about it
*AddressApi* | [**addressValidatePostalCode**](docs/Api/AddressApi.md#addressvalidatepostalcode) | **POST** /validate/address/postal-code | Validate a postal code, get location information about it
*AddressApi* | [**addressValidateState**](docs/Api/AddressApi.md#addressvalidatestate) | **POST** /validate/address/state | Validate a state or province, name or abbreviation, get location information about it
*DateTimeApi* | [**dateTimeGetNowSimple**](docs/Api/DateTimeApi.md#datetimegetnowsimple) | **GET** /validate/date-time/get/now | Get current date and time as of now
*DateTimeApi* | [**dateTimeGetPublicHolidays**](docs/Api/DateTimeApi.md#datetimegetpublicholidays) | **POST** /validate/date-time/get/holidays | Get public holidays in the specified country and year
*DateTimeApi* | [**dateTimeParseNaturalLanguageDateTime**](docs/Api/DateTimeApi.md#datetimeparsenaturallanguagedatetime) | **POST** /validate/date-time/parse/date-time/natural-language | Parses a free-form natural language date and time string into a date and time
*DateTimeApi* | [**dateTimeParseStandardDateTime**](docs/Api/DateTimeApi.md#datetimeparsestandarddatetime) | **POST** /validate/date-time/parse/date-time/structured | Parses a standardized date and time string into a date and time
*DomainApi* | [**domainCheck**](docs/Api/DomainApi.md#domaincheck) | **POST** /validate/domain/check | Validate a domain name
*DomainApi* | [**domainPost**](docs/Api/DomainApi.md#domainpost) | **POST** /validate/domain/whois | Get WHOIS information for a domain
*DomainApi* | [**domainQualityScore**](docs/Api/DomainApi.md#domainqualityscore) | **POST** /validate/domain/quality-score | Validate a domain name's quality score
Expand Down Expand Up @@ -131,6 +136,10 @@ Class | Method | HTTP request | Description
- [CheckResponse](docs/Model/CheckResponse.md)
- [CountryDetails](docs/Model/CountryDetails.md)
- [CountryListResult](docs/Model/CountryListResult.md)
- [DateTimeNaturalLanguageParseRequest](docs/Model/DateTimeNaturalLanguageParseRequest.md)
- [DateTimeNowResult](docs/Model/DateTimeNowResult.md)
- [DateTimeStandardizedParseRequest](docs/Model/DateTimeStandardizedParseRequest.md)
- [DateTimeStandardizedParseResponse](docs/Model/DateTimeStandardizedParseResponse.md)
- [DomainQualityResponse](docs/Model/DomainQualityResponse.md)
- [FirstNameValidationRequest](docs/Model/FirstNameValidationRequest.md)
- [FirstNameValidationResponse](docs/Model/FirstNameValidationResponse.md)
Expand All @@ -141,17 +150,21 @@ Class | Method | HTTP request | Description
- [GeolocateStreetAddressResponse](docs/Model/GeolocateStreetAddressResponse.md)
- [GetGenderRequest](docs/Model/GetGenderRequest.md)
- [GetGenderResponse](docs/Model/GetGenderResponse.md)
- [GetPublicHolidaysRequest](docs/Model/GetPublicHolidaysRequest.md)
- [GetTimezonesRequest](docs/Model/GetTimezonesRequest.md)
- [GetTimezonesResponse](docs/Model/GetTimezonesResponse.md)
- [IPThreatResponse](docs/Model/IPThreatResponse.md)
- [LastNameValidationRequest](docs/Model/LastNameValidationRequest.md)
- [LastNameValidationResponse](docs/Model/LastNameValidationResponse.md)
- [LeadEnrichmentRequest](docs/Model/LeadEnrichmentRequest.md)
- [LeadEnrichmentResponse](docs/Model/LeadEnrichmentResponse.md)
- [NormalizeAddressResponse](docs/Model/NormalizeAddressResponse.md)
- [ParseAddressRequest](docs/Model/ParseAddressRequest.md)
- [ParseAddressResponse](docs/Model/ParseAddressResponse.md)
- [PhoneNumberValidateRequest](docs/Model/PhoneNumberValidateRequest.md)
- [PhoneNumberValidationResponse](docs/Model/PhoneNumberValidationResponse.md)
- [PublicHolidayOccurrence](docs/Model/PublicHolidayOccurrence.md)
- [PublicHolidaysResponse](docs/Model/PublicHolidaysResponse.md)
- [ReverseGeocodeAddressRequest](docs/Model/ReverseGeocodeAddressRequest.md)
- [ReverseGeocodeAddressResponse](docs/Model/ReverseGeocodeAddressResponse.md)
- [Timezone](docs/Model/Timezone.md)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cloudmersive/cloudmersive_validate_api_client",
"version": "1.6.6",
"version": "1.6.7",
"description": "",
"keywords": [
"swagger",
Expand Down
56 changes: 56 additions & 0 deletions docs/Api/AddressApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Method | HTTP request | Description
[**addressGetCountryCurrency**](AddressApi.md#addressGetCountryCurrency) | **POST** /validate/address/country/get-currency | Get the currency of the input country
[**addressGetCountryRegion**](AddressApi.md#addressGetCountryRegion) | **POST** /validate/address/country/get-region | Get the region, subregion and continent of the country
[**addressGetTimezone**](AddressApi.md#addressGetTimezone) | **POST** /validate/address/country/get-timezones | Gets IANA/Olsen time zones for a country
[**addressNormalizeAddress**](AddressApi.md#addressNormalizeAddress) | **POST** /validate/address/street-address/normalize | Normalize a street address
[**addressParseString**](AddressApi.md#addressParseString) | **POST** /validate/address/parse | Parse an unstructured input text string into an international, formatted address
[**addressReverseGeocodeAddress**](AddressApi.md#addressReverseGeocodeAddress) | **POST** /validate/address/geocode/reverse | Reverse geocode a lattitude and longitude into an address
[**addressValidateAddress**](AddressApi.md#addressValidateAddress) | **POST** /validate/address/street-address | Validate a street address
Expand Down Expand Up @@ -400,6 +401,61 @@ Name | Type | Description | Notes

[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **addressNormalizeAddress**
> \Swagger\Client\Model\NormalizeAddressResponse addressNormalizeAddress($input)
Normalize a street address

Normalizes an input structured street address is valid or invalid. If the address is valid, also returns the latitude and longitude of the address. Supports all major international addresses.

### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Apikey
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Apikey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Apikey', 'Bearer');

$apiInstance = new Swagger\Client\Api\AddressApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$input = new \Swagger\Client\Model\ValidateAddressRequest(); // \Swagger\Client\Model\ValidateAddressRequest | Input parse request

try {
$result = $apiInstance->addressNormalizeAddress($input);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AddressApi->addressNormalizeAddress: ', $e->getMessage(), PHP_EOL;
}
?>
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**input** | [**\Swagger\Client\Model\ValidateAddressRequest**](../Model/ValidateAddressRequest.md)| Input parse request |

### Return type

[**\Swagger\Client\Model\NormalizeAddressResponse**](../Model/NormalizeAddressResponse.md)

### Authorization

[Apikey](../../README.md#Apikey)

### HTTP request headers

- **Content-Type**: application/json, text/json
- **Accept**: application/json, text/json, application/xml, text/xml

[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **addressParseString**
> \Swagger\Client\Model\ParseAddressResponse addressParseString($input)
Expand Down
228 changes: 228 additions & 0 deletions docs/Api/DateTimeApi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,228 @@
# Swagger\Client\DateTimeApi

All URIs are relative to *https://api.cloudmersive.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**dateTimeGetNowSimple**](DateTimeApi.md#dateTimeGetNowSimple) | **GET** /validate/date-time/get/now | Get current date and time as of now
[**dateTimeGetPublicHolidays**](DateTimeApi.md#dateTimeGetPublicHolidays) | **POST** /validate/date-time/get/holidays | Get public holidays in the specified country and year
[**dateTimeParseNaturalLanguageDateTime**](DateTimeApi.md#dateTimeParseNaturalLanguageDateTime) | **POST** /validate/date-time/parse/date-time/natural-language | Parses a free-form natural language date and time string into a date and time
[**dateTimeParseStandardDateTime**](DateTimeApi.md#dateTimeParseStandardDateTime) | **POST** /validate/date-time/parse/date-time/structured | Parses a standardized date and time string into a date and time


# **dateTimeGetNowSimple**
> \Swagger\Client\Model\DateTimeNowResult dateTimeGetNowSimple()
Get current date and time as of now

Gets the current date and time. Response time is syncronized with atomic clocks, and represents a monotonic, centrally available, consistent clock.

### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Apikey
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Apikey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Apikey', 'Bearer');

$apiInstance = new Swagger\Client\Api\DateTimeApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);

try {
$result = $apiInstance->dateTimeGetNowSimple();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DateTimeApi->dateTimeGetNowSimple: ', $e->getMessage(), PHP_EOL;
}
?>
```

### Parameters
This endpoint does not need any parameter.

### Return type

[**\Swagger\Client\Model\DateTimeNowResult**](../Model/DateTimeNowResult.md)

### Authorization

[Apikey](../../README.md#Apikey)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json, text/json, application/xml, text/xml

[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **dateTimeGetPublicHolidays**
> \Swagger\Client\Model\PublicHolidaysResponse dateTimeGetPublicHolidays($input)
Get public holidays in the specified country and year

Enumerates all public holidays in a given country for a given year. Supports over 100 countries.

### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Apikey
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Apikey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Apikey', 'Bearer');

$apiInstance = new Swagger\Client\Api\DateTimeApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$input = new \Swagger\Client\Model\GetPublicHolidaysRequest(); // \Swagger\Client\Model\GetPublicHolidaysRequest | Input request

try {
$result = $apiInstance->dateTimeGetPublicHolidays($input);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DateTimeApi->dateTimeGetPublicHolidays: ', $e->getMessage(), PHP_EOL;
}
?>
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**input** | [**\Swagger\Client\Model\GetPublicHolidaysRequest**](../Model/GetPublicHolidaysRequest.md)| Input request |

### Return type

[**\Swagger\Client\Model\PublicHolidaysResponse**](../Model/PublicHolidaysResponse.md)

### Authorization

[Apikey](../../README.md#Apikey)

### HTTP request headers

- **Content-Type**: application/json, text/json
- **Accept**: application/json, text/json, application/xml, text/xml

[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **dateTimeParseNaturalLanguageDateTime**
> \Swagger\Client\Model\DateTimeStandardizedParseResponse dateTimeParseNaturalLanguageDateTime($input)
Parses a free-form natural language date and time string into a date and time

Parses an unstructured, free-form, natural language date and time string into a date time object. This is intended for lightweight human-entered input, such as \"tomorrow at 3pm\" or \"tuesday\".

### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Apikey
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Apikey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Apikey', 'Bearer');

$apiInstance = new Swagger\Client\Api\DateTimeApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$input = new \Swagger\Client\Model\DateTimeNaturalLanguageParseRequest(); // \Swagger\Client\Model\DateTimeNaturalLanguageParseRequest | Input request

try {
$result = $apiInstance->dateTimeParseNaturalLanguageDateTime($input);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DateTimeApi->dateTimeParseNaturalLanguageDateTime: ', $e->getMessage(), PHP_EOL;
}
?>
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**input** | [**\Swagger\Client\Model\DateTimeNaturalLanguageParseRequest**](../Model/DateTimeNaturalLanguageParseRequest.md)| Input request |

### Return type

[**\Swagger\Client\Model\DateTimeStandardizedParseResponse**](../Model/DateTimeStandardizedParseResponse.md)

### Authorization

[Apikey](../../README.md#Apikey)

### HTTP request headers

- **Content-Type**: application/json, text/json
- **Accept**: application/json, text/json, application/xml, text/xml

[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **dateTimeParseStandardDateTime**
> \Swagger\Client\Model\DateTimeStandardizedParseResponse dateTimeParseStandardDateTime($input)
Parses a standardized date and time string into a date and time

Parses a structured date and time string into a date time object. This is intended for standardized date strings that adhere to formatting conventions, rather than natural language input.

### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Apikey
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Apikey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Apikey', 'Bearer');

$apiInstance = new Swagger\Client\Api\DateTimeApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$input = new \Swagger\Client\Model\DateTimeStandardizedParseRequest(); // \Swagger\Client\Model\DateTimeStandardizedParseRequest | Input request

try {
$result = $apiInstance->dateTimeParseStandardDateTime($input);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DateTimeApi->dateTimeParseStandardDateTime: ', $e->getMessage(), PHP_EOL;
}
?>
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**input** | [**\Swagger\Client\Model\DateTimeStandardizedParseRequest**](../Model/DateTimeStandardizedParseRequest.md)| Input request |

### Return type

[**\Swagger\Client\Model\DateTimeStandardizedParseResponse**](../Model/DateTimeStandardizedParseResponse.md)

### Authorization

[Apikey](../../README.md#Apikey)

### HTTP request headers

- **Content-Type**: application/json, text/json
- **Accept**: application/json, text/json, application/xml, text/xml

[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

Loading

0 comments on commit 85b2786

Please sign in to comment.