SDKs overview
Cloudmersive Validate offers a suite of Software Development Kits (SDKs) designed to facilitate integration with its various API services, including email validation, virus scanning, and document conversion. These SDKs abstract much of the underlying HTTP request and response handling, allowing developers to interact with the API using native language constructs rather than direct REST calls. The availability of SDKs across multiple programming languages aims to reduce development time and potential errors when integrating Cloudmersive Validate's functionalities into diverse application environments.
The SDKs are generated to align with the OpenAPI Specification, which supports consistent API design and client generation across different platforms. This approach ensures that the client libraries are kept up-to-date with API changes and maintain a predictable interface for developers. Cloudmersive Validate's documentation provides specific instructions for obtaining and using each language-specific SDK, often including installation commands and code examples to demonstrate common API operations, such as validating an email address or checking for disposable email domains. The goal is to provide a seamless developer experience from setup to deployment, enabling efficient implementation of data validation and security features.
Official SDKs by language
Cloudmersive Validate provides official SDKs for a range of popular programming languages. These libraries are maintained by Cloudmersive to ensure compatibility and provide a consistent interface for accessing the API's features. Each SDK is designed to encapsulate the API's endpoints and data models, simplifying the process of making API calls and handling responses. The table below lists the officially supported languages, their respective package identifiers, typical installation methods, and general maturity status.
| Language | Package Manager / Repository | Install Command Example | Maturity |
|---|---|---|---|
| C# | NuGet | Install-Package Cloudmersive.APIClient.NET.Validate |
Stable |
| Java | Maven / Gradle | <dependency><groupId>com.cloudmersive.client</groupId><artifactId>cloudmersive-validate-api</artifactId><version>2.1.6</version></dependency> (Maven) |
Stable |
| Node.js | npm | npm install cloudmersive-validate-api-client |
Stable |
| PHP | Composer | composer require cloudmersive/cloudmersive-validate-api-client |
Stable |
| Python | pip | pip install cloudmersive-validate-api-client |
Stable |
| Ruby | RubyGems | gem install cloudmersive-validate-api-client |
Stable |
| Go | Go Modules | go get github.com/cloudmersive/cloudmersive-validate-api-client-go |
Stable |
| Swift | Swift Package Manager / CocoaPods | Refer to Cloudmersive Swift documentation | Stable |
| Objective-C | CocoaPods | Refer to Cloudmersive Objective-C documentation | Stable |
For detailed instructions and specific versioning, developers should refer to the Cloudmersive Validate developer documentation. The documentation pages for each language typically include setup guides, authentication details, and examples for various API calls, such as email address syntax validation, domain checks, and spam trap detection. This ensures developers have current and comprehensive resources for integration.
Installation
Installing Cloudmersive Validate SDKs generally involves using the standard package manager for each respective programming language. Each SDK is published to its language's primary package repository, ensuring ease of access and consistent version management. Before installation, developers typically need to have their development environment configured with the appropriate language runtime and package manager.
C# (.NET)
For C# projects, the SDK is available via NuGet. Developers can install it using the NuGet Package Manager Console in Visual Studio or via the .NET CLI:
Install-Package Cloudmersive.APIClient.NET.Validate
Or using the .NET CLI:
dotnet add package Cloudmersive.APIClient.NET.Validate
After installation, the library can be referenced in C# code, allowing access to the validation client classes.
Java
Java developers can add the SDK as a dependency using Maven or Gradle. For Maven, include the following in your pom.xml:
<dependency>
<groupId>com.cloudmersive.client</groupId>
<artifactId>cloudmersive-validate-api</artifactId>
<version>2.1.6</version>
<scope>compile</scope>
</dependency>
For Gradle, add to your build.gradle:
implementation 'com.cloudmersive.client:cloudmersive-validate-api:2.1.6'
After configuring the build system, the SDK classes become available for import in Java source files. The Azure Cloudmersive Validate API client overview provides further context on Java client library integration patterns.
Node.js
Node.js projects install the SDK using npm, the Node.js package manager:
npm install cloudmersive-validate-api-client --save
This command adds the package to the project's node_modules directory and updates the package.json file. Developers can then require the module in their JavaScript or TypeScript files.
Python
Python developers typically use pip to install the SDK:
pip install cloudmersive-validate-api-client
This command downloads and installs the package and its dependencies. Once installed, the client library can be imported and utilized in Python scripts and applications.
Each installation process is detailed with specific versioning and dependency requirements on the Cloudmersive Validate official documentation pages.
Quickstart example
This example demonstrates how to perform a basic email validation using the Cloudmersive Validate Python SDK. The steps involve installing the SDK, setting up API key authentication, and making a call to the email validation endpoint. This quickstart assumes you have a Cloudmersive API key, which can be obtained by signing up on their pricing page.
Python Email Validation Quickstart
1. Install the SDK:
pip install cloudmersive-validate-api-client
2. Python Code Example:
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.EmailApi(cloudmersive_validate_api_client.ApiClient(configuration))
email = '[email protected]' # str | Email address to validate
try:
# Validate email address
api_response = api_instance.email_validate_full(email)
pprint(api_response)
except ApiException as e:
print("Exception when calling EmailApi->email_validate_full: %s\n" % e)
This snippet initializes the configuration with your API key, creates an EmailApi instance, and then calls the email_validate_full method with a target email address. The response object api_response will contain detailed validation results, including whether the email is valid, disposable, or a spam trap. This structured approach simplifies integrating complex validation logic into Python applications.
Community libraries
While Cloudmersive Validate provides official SDKs for major programming languages, the broader developer community may also contribute open-source libraries or wrappers. These community-driven projects can offer alternative implementations, specialized functionalities, or support for languages not officially covered by Cloudmersive. Community libraries often arise from specific project needs or preferences, and their features and maintenance vary widely.
Developers exploring community libraries should exercise due diligence regarding their stability, security, and ongoing support. It is advisable to check the project's repository (e.g., GitHub), review its commit history, issue tracker, and community engagement to assess its reliability. Although Cloudmersive Validate does not officially endorse or maintain these community contributions, they can sometimes offer unique benefits or cater to niche requirements. For consistency and guaranteed support, the official Cloudmersive SDKs are generally recommended for production environments.
As of late 2026, the primary focus for Cloudmersive Validate integration remains on its officially supported SDKs due to their comprehensive coverage and direct support from the vendor, aligning with the practices of many API providers, including those detailed in the Stripe API documentation regarding their own official client libraries.