validateapi
Project description
cloudmersive_validate_api_client
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.
This Python package provides a native API client for Cloudmersive Data Validation
- API version: v1
- Package version: 3.0.9
- Build package: io.swagger.codegen.languages.PythonClientCodegen
Requirements.
Python 2.7 and 3.4+
Installation & Usage
pip install
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
)
Then import the package:
import cloudmersive_validate_api_client
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import cloudmersive_validate_api_client
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import cloudmersive_validate_api_client
from cloudmersive_validate_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_validate_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Apikey'] = 'Bearer'
# create an instance of the API class
api_instance = cloudmersive_validate_api_client.AddressApi(cloudmersive_validate_api_client.ApiClient(configuration))
input = cloudmersive_validate_api_client.ValidateCountryRequest() # ValidateCountryRequest | Input request
try:
# Check if a country is a member of the European Union (EU)
api_response = api_instance.address_check_eu_membership(input)
pprint(api_response)
except ApiException as e:
print("Exception when calling AddressApi->address_check_eu_membership: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://api.cloudmersive.com
Class | Method | HTTP request | Description |
---|---|---|---|
AddressApi | address_check_eu_membership | POST /validate/address/country/check-eu-membership | Check if a country is a member of the European Union (EU) |
AddressApi | address_country | POST /validate/address/country | Validate and normalize country information, return ISO 3166-1 country codes and country name |
AddressApi | address_country_list | POST /validate/address/country/list | Get a list of ISO 3166-1 countries |
AddressApi | address_geocode | POST /validate/address/geocode | Geocode a street address into latitude and longitude |
AddressApi | address_get_country_currency | POST /validate/address/country/get-currency | Get the currency of the input country |
AddressApi | address_get_country_region | POST /validate/address/country/get-region | Get the region, subregion and continent of the country |
AddressApi | address_get_timezone | POST /validate/address/country/get-timezones | Gets IANA/Olsen time zones for a country |
AddressApi | address_parse_string | POST /validate/address/parse | Parse an unstructured input text string into an international, formatted address |
AddressApi | address_reverse_geocode_address | POST /validate/address/geocode/reverse | Reverse geocode a lattitude and longitude into an address |
AddressApi | address_validate_address | POST /validate/address/street-address | Validate a street address |
AddressApi | address_validate_city | POST /validate/address/city | Validate a City and State/Province combination, get location information about it |
AddressApi | address_validate_postal_code | POST /validate/address/postal-code | Validate a postal code, get location information about it |
AddressApi | address_validate_state | POST /validate/address/state | Validate a state or province, name or abbreviation, get location information about it |
DomainApi | domain_check | POST /validate/domain/check | Validate a domain name |
DomainApi | domain_post | POST /validate/domain/whois | Get WHOIS information for a domain |
DomainApi | domain_quality_score | POST /validate/domain/quality-score | Validate a domain name's quality score |
DomainApi | domain_url_full | POST /validate/domain/url/full | Validate a URL fully |
DomainApi | domain_url_syntax_only | POST /validate/domain/url/syntax-only | Validate a URL syntactically |
EmailApi | email_address_get_servers | POST /validate/email/address/servers | Partially check whether an email address is valid |
EmailApi | email_full_validation | POST /validate/email/address/full | Fully validate an email address |
EmailApi | email_post | POST /validate/email/address/syntaxOnly | Validate email adddress for syntactic correctness only |
IPAddressApi | i_p_address_is_threat | POST /validate/ip/is-threat | Check if IP address is a known threat |
IPAddressApi | i_p_address_is_tor_node | POST /validate/ip/is-tor-node | Check if IP address is a Tor node server |
IPAddressApi | i_p_address_post | POST /validate/ip/geolocate | Geolocate an IP address |
LeadEnrichmentApi | lead_enrichment_enrich_lead | POST /validate/lead-enrichment/lead/enrich | Enrich an input lead with additional fields of data |
NameApi | name_get_gender | POST /validate/name/get-gender | Get the gender of a first name |
NameApi | name_identifier | POST /validate/name/identifier | Validate a code identifier |
NameApi | name_validate_first_name | POST /validate/name/first | Validate a first name |
NameApi | name_validate_full_name | POST /validate/name/full-name | Parse and validate a full name |
NameApi | name_validate_last_name | POST /validate/name/last | Validate a last name |
PhoneNumberApi | phone_number_syntax_only | POST /validate/phonenumber/basic | Validate phone number (basic) |
UserAgentApi | user_agent_parse | POST /validate/useragent/parse | Parse an HTTP User-Agent string, identify robots |
VatApi | vat_vat_lookup | POST /validate/vat/lookup | Validate a VAT number |
Documentation For Models
- AddressGetServersResponse
- AddressVerifySyntaxOnlyResponse
- CheckResponse
- CountryDetails
- CountryListResult
- DomainQualityResponse
- FirstNameValidationRequest
- FirstNameValidationResponse
- FullEmailValidationResponse
- FullNameValidationRequest
- FullNameValidationResponse
- GeolocateResponse
- GetGenderRequest
- GetGenderResponse
- GetTimezonesRequest
- GetTimezonesResponse
- IPThreatResponse
- LastNameValidationRequest
- LastNameValidationResponse
- LeadEnrichmentRequest
- LeadEnrichmentResponse
- ParseAddressRequest
- ParseAddressResponse
- PhoneNumberValidateRequest
- PhoneNumberValidationResponse
- ReverseGeocodeAddressRequest
- ReverseGeocodeAddressResponse
- Timezone
- TorNodeResponse
- UserAgentValidateRequest
- UserAgentValidateResponse
- ValidateAddressRequest
- ValidateAddressResponse
- ValidateCityRequest
- ValidateCityResponse
- ValidateCountryRequest
- ValidateCountryResponse
- ValidateIdentifierRequest
- ValidateIdentifierResponse
- ValidatePostalCodeRequest
- ValidatePostalCodeResponse
- ValidateStateRequest
- ValidateStateResponse
- ValidateUrlRequestFull
- ValidateUrlRequestSyntaxOnly
- ValidateUrlResponseFull
- ValidateUrlResponseSyntaxOnly
- VatLookupRequest
- VatLookupResponse
- WhoisResponse
Documentation For Authorization
Apikey
- Type: API key
- API key parameter name: Apikey
- Location: HTTP header
Author
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for cloudmersive_validate_api_client-3.0.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cde840a96bb2386060b41f909e0eba125c7665f3495c476ccfe5ec096b70ed28 |
|
MD5 | b40f83857e1c89f9eb311992bd4e7964 |
|
BLAKE2b-256 | cce35fc48ea76a4220620a279a5417c0fa84aa752e6f5fdbaa89d833a85f5947 |