GithubHelp home page GithubHelp logo

cloudmersive.apiclient.python's Introduction

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: 2.0.7
  • 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.ParseAddressRequest() # ParseAddressRequest | Input parse request

try:
    # Parse an unstructured input text string into an international, formatted address
    api_response = api_instance.address_parse_string(input)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AddressApi->address_parse_string: %s\n" % e)

Documentation for API Endpoints

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

Class Method HTTP request Description
AddressApi address_parse_string POST /validate/address/parse Parse an unstructured input text string into an international, formatted address
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_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_post POST /validate/ip/geolocate Geolocate an IP address
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 Lookup a VAT code

Documentation For Models

Documentation For Authorization

Apikey

  • Type: API key
  • API key parameter name: Apikey
  • Location: HTTP header

Author

cloudmersive.apiclient.python's People

Contributors

cloudmersive avatar

Watchers

 avatar Acampbell avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.