Back to Documentation

SDKs

Official SDKs and libraries for integrating CounterX APIs into your application

What are CounterX SDKs?

CounterX SDKs (Software Development Kits) are libraries that simplify communication with our API. They provide a friendly, language-specific interface, allowing you to quickly integrate our digital asset verification and due diligence services into your application.

Benefits of using our SDKs

  • Simplified integration: Ready-made functions for all API endpoints
  • Strong typing: Complete interfaces in languages with type support
  • Error handling: Automatic management of common error cases
  • Lower learning curve: No need to know all API details
  • Frequent updates: We keep SDKs updated with the latest features

Available SDKs

We offer official SDKs for various programming languages. Choose the one that best fits your technology stack:

Backend

Node.js

Official SDK for Node.js, compatible with TypeScript and ES modules.

Language:JavaScript/TypeScript
Version:v1.0.0
npm install @counterx/nodejs-sdk

Python

Official SDK for Python 3.10+, with async/await and type hints support.

Language:Python
Version:v1.0.0
pip install counterx-python-sdk

PHP

Official SDK for PHP 7.4+, with Composer and PSR standards support.

Language:PHP
Version:v1.0.0
composer require counterx/php-sdk

Ruby

Official SDK for Ruby 2.6+, available as gem with Rails support.

Language:Ruby
Version:v1.0.0
gem install counterx-ruby-sdk

Go

Official SDK for Go 1.13+, with modules and generics support.

Language:Go
Version:v1.0.0
go get github.com/counterx/go-sdk

Java

Official SDK for Java 8+, compatible with Spring Boot and Jakarta EE.

Language:Java
Version:v1.0.0
mvn install com.counterx:java-sdk

Rust

Official SDK for Rust, focused on security and performance.

Language:Rust
Version:v1.0.0
cargo add counterx-rust-sdk

Mobile

Kotlin

Official SDK for Kotlin, ideal for modern Android applications.

Language:Kotlin
Version:v1.0.0
implementation("com.counterx:kotlin-sdk:1.0.0")

Swift

Official SDK for Swift, ideal for iOS and macOS applications.

Language:Swift
Version:v1.0.0
.package(url: "https://github.com/counterx/swift-sdk", from: "1.0.0")

Usage Examples

See how simple it is to use our SDKs in some of the most popular languages:

// Installation: npm install @counterx/nodejs-sdk
import CounterX from '@counterx/nodejs-sdk';

// Initialize the client with your API key
const counterx = CounterX('your_api_key');

// Create a due diligence analysis
async function createDueDiligence() {
  const analysis = await counterx.dueDiligence.create({
    assetId: 'ASSET-123',
    assetType: 'SAAS',
    metrics: {
      mrr: 50000,
      churn: 0.05,
      cac: 1000,
    },
    returnUrl: 'https://yoursite.com/app',
    completionUrl: 'https://yoursite.com/analysis/success',
  });

  return analysis;
}

createDueDiligence();

Frequently Asked Questions

How do I install the SDK for my language?

Each SDK has specific installation instructions in its GitHub repository. Generally, you can use your language's package manager such as npm, pip, composer, bundle, cargo, etc.

Do the SDKs work in both development and production environments?

Yes! All our SDKs support both environments. In some cases, you may need to configure the `environment` parameter when initializing the client to `sandbox` or `production`, or simply use the API key from your desired environment.

What should I do if I find a bug in an SDK?

You can open an issue in the GitHub repository of the specific SDK. Our team is always attentive to fix bugs and improve our SDKs.

There's no SDK for the language I use. What should I do?

Contact us at [email protected] informing which language you need. We also accept contributions from the community!

Additional Resources

Need help with integration?

Our team is available to help with any questions about our SDKs. Contact us by email:

[email protected]