Go API client for GoCloudmersiveDocumentConvertApiClient
The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
Overview
This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.
- API version: v1
- Package version: 2.1.0
- Build package: io.swagger.codegen.languages.GoClientCodegen
Installation
Put the package under your project folder and add the following in import:
import "./GoCloudmersiveDocumentConvertApiClient"
Documentation for API Endpoints
All URIs are relative to https://api.cloudmersive.com
Class | Method | HTTP request | Description |
---|---|---|---|
AddressApi | AddressCountry | Post /validate/address/country | Validate and normalize country information, return ISO 3166-1 country codes and country name |
AddressApi | AddressGetTimezone | Post /validate/address/country/get-timezones | Gets IANA/Olsen time zones for a country |
AddressApi | AddressParseString | Post /validate/address/parse | Parse an unstructured input text string into an international, formatted address |
AddressApi | AddressValidateAddress | Post /validate/address/street-address | Validate a street address |
DomainApi | DomainCheck | Post /validate/domain/check | Validate a domain name |
DomainApi | DomainPost | Post /validate/domain/whois | Get WHOIS information for a domain |
DomainApi | DomainUrlFull | Post /validate/domain/url/full | Validate a URL fully |
DomainApi | DomainUrlSyntaxOnly | Post /validate/domain/url/syntax-only | Validate a URL syntactically |
EmailApi | EmailAddressGetServers | Post /validate/email/address/servers | Partially check whether an email address is valid |
EmailApi | EmailFullValidation | Post /validate/email/address/full | Fully validate an email address |
EmailApi | EmailPost | Post /validate/email/address/syntaxOnly | Validate email adddress for syntactic correctness only |
IPAddressApi | IPAddressPost | Post /validate/ip/geolocate | Geolocate an IP address |
LeadEnrichmentApi | LeadEnrichmentEnrichLead | Post /validate/lead-enrichment/lead/enrich | Enrich an input lead with additional fields of data |
NameApi | NameGetGender | Post /validate/name/get-gender | Get the gender of a first name |
NameApi | NameIdentifier | Post /validate/name/identifier | Validate a code identifier |
NameApi | NameValidateFirstName | Post /validate/name/first | Validate a first name |
NameApi | NameValidateFullName | Post /validate/name/full-name | Parse and validate a full name |
NameApi | NameValidateLastName | Post /validate/name/last | Validate a last name |
PhoneNumberApi | PhoneNumberSyntaxOnly | Post /validate/phonenumber/basic | Validate phone number (basic) |
UserAgentApi | UserAgentParse | Post /validate/useragent/parse | Parse an HTTP User-Agent string, identify robots |
VatApi | VatVatLookup | Post /validate/vat/lookup | Validate a VAT number |
Documentation For Models
- AddressGetServersResponse
- AddressVerifySyntaxOnlyResponse
- CheckResponse
- FirstNameValidationRequest
- FirstNameValidationResponse
- FullEmailValidationResponse
- FullNameValidationRequest
- FullNameValidationResponse
- GeolocateResponse
- GetGenderRequest
- GetGenderResponse
- GetTimezonesRequest
- GetTimezonesResponse
- LastNameValidationRequest
- LastNameValidationResponse
- LeadEnrichmentRequest
- LeadEnrichmentResponse
- ParseAddressRequest
- ParseAddressResponse
- PhoneNumberValidateRequest
- PhoneNumberValidationResponse
- Timezone
- UserAgentValidateRequest
- UserAgentValidateResponse
- ValidateAddressRequest
- ValidateAddressResponse
- ValidateCountryRequest
- ValidateCountryResponse
- ValidateIdentifierRequest
- ValidateIdentifierResponse
- ValidateUrlRequestFull
- ValidateUrlRequestSyntaxOnly
- ValidateUrlResponseFull
- ValidateUrlResponseSyntaxOnly
- VatLookupRequest
- VatLookupResponse
- WhoisResponse
Documentation For Authorization
Apikey
- Type: API key
Example
auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
Key: "APIKEY",
Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)