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.
npm install @counterx/nodejs-sdkPython
Official SDK for Python 3.10+, with async/await and type hints support.
pip install counterx-python-sdkPHP
Official SDK for PHP 7.4+, with Composer and PSR standards support.
composer require counterx/php-sdkRuby
Official SDK for Ruby 2.6+, available as gem with Rails support.
gem install counterx-ruby-sdkGo
Official SDK for Go 1.13+, with modules and generics support.
go get github.com/counterx/go-sdkJava
Official SDK for Java 8+, compatible with Spring Boot and Jakarta EE.
mvn install com.counterx:java-sdkRust
Official SDK for Rust, focused on security and performance.
cargo add counterx-rust-sdkMobile
Kotlin
Official SDK for Kotlin, ideal for modern Android applications.
implementation("com.counterx:kotlin-sdk:1.0.0")Swift
Official SDK for Swift, ideal for iOS and macOS applications.
.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]