๐Ÿ›  Developer Resources

ConnectHub SDKs & Libraries

Official SDKs, installation guides, and integration tools to build with ConnectHub's API. Optimized for performance, security, and developer experience.

๐ŸŒ
v3.2.1 Stable

JavaScript / TypeScript

Full-featured SDK for React, Vue, Angular, and vanilla JS. Includes auth, feeds, and real-time WebSockets.

npm install @connechub/sdk-web
๐ŸŽ
v2.8.0 Stable

iOS (Swift)

Native iOS framework with SwiftUI support. Optimized for iOS 15+ with background sync and push notifications.

brew install connechub-tap
connechub init swift
๐Ÿค–
v2.7.4 Stable

Android (Kotlin)

Jetpack Compose ready Android SDK. Includes lifecycle-aware networking, offline caching, and deep linking.

implementation("com.connechub:android-sdk:2.7.4")
๐Ÿ
v1.5.0 Stable

Python

Async-first Python client for server-side integrations, data pipelines, and automation scripts.

pip install connechub-sdk
โŒจ๏ธ
v1.2.0 Beta

Command Line Interface

Manage apps, generate tokens, and deploy webhook endpoints directly from your terminal.

curl -sSL https://sdk.connechub.dev/cli | bash
๐Ÿ”Œ
v3.0.1 Stable

REST & GraphQL Gateway

Direct API access without SDK overhead. Includes OpenAPI specs, Postman collections, and GraphQL playground.

curl -X POST https://api.connechub.dev/v3/feed \
  -H "Authorization: Bearer $TOKEN"

Quick Start Guides

Get up and running in under 5 minutes

Web Integration

  1. Install the package: npm install @connechub/sdk-web
  2. Initialize the client with your API key from the Dashboard
  3. Use CHClient.authenticate() to handle OAuth2 or token-based auth
  4. Subscribe to real-time events via client.on('feed:update', handler)
import { ConnectHub } from '@connechub/sdk-web';

const client = new ConnectHub({
  apiKey: process.env.CH_API_KEY,
  region: 'us-east-1'
});

client.authenticate().then(() => {
  console.log('โœ… Connected to ConnectHub');
});

iOS Integration

  1. Add the Swift Package to your Xcode project
  2. Import ConnectHub in your AppDelegate
  3. Configure push notifications and background fetch capabilities
import ConnectHub

func application(_ application: UIApplication,
                 didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    CHClient.configure(apiKey: "YOUR_API_KEY")
    return true
}

Android Integration

  1. Add the Gradle dependency to your app-level build.gradle
  2. Initialize in your Application class
  3. Handle network permissions in AndroidManifest.xml
class App : Application() {
    override fun onCreate() {
        super.onCreate()
        ConnectHub.init(this, apiKey = "YOUR_API_KEY")
    }
}

Python Integration

  1. Install via pip: pip install connechub-sdk
  2. Use async/await for high-throughput operations
  3. Configure webhook handlers for server-side events
import asyncio
from connechub import ConnectHubAsync

async def main():
    client = ConnectHubAsync(api_key="YOUR_API_KEY")
    await client.connect()
    print("โœ… Connected to ConnectHub")

asyncio.run(main())

Version History & Changelog

Version Platform Release Date Status Notes
v3.2.1 Web / JS 2025-01-15 Stable WebSocket reconnection fixes, TypeScript 5.4 support
v2.8.0 iOS 2025-01-12 Stable SwiftUI 4.0 previews, async/await networking overhaul
v2.7.4 Android 2025-01-10 Stable Compose 1.6 compatibility, offline cache optimizations
v1.2.0 CLI 2025-01-08 Beta Webhook deployment commands, token rotation
v1.4.9 Python 2024-12-20 Deprecated Python 3.8 support dropped, migrate to 1.5.x

Need Help Integrating?

Our developer support team is available 24/7 to help with authentication, rate limits, SDK migration, and custom integrations.