SDKs & Libraries

Official libraries to accelerate your Content Hub API integration

JavaScript

Node.js & Browser

Official JavaScript SDK with TypeScript support for Node.js and browser environments.

Python

Python 3.7+

Python SDK with async support and comprehensive error handling for Django and Flask applications.

PHP

PHP 7.4+

PHP SDK with Composer support, PSR standards compliance, and Laravel integration.

Java

Java 8+

Enterprise Java SDK with Spring Boot integration and comprehensive documentation.

.NET

.NET Core 3.1+

.NET SDK with async/await support and NuGet package distribution for ASP.NET applications.

Go

Go 1.16+

Go SDK with goroutines support and idiomatic Go patterns for high-performance applications.

Quick Start Installation

JavaScript/TypeScript

npm install @content-hub/sdk
# or
yarn add @content-hub/sdk
import { ContentHub } from '@content-hub/sdk';

const hub = new ContentHub({
  apiKey: 'your_api_key_here'
});

Python

pip install content-hub-sdk
from content_hub import ContentHub

hub = ContentHub(api_key='your_api_key_here')

PHP

composer require content-hub/sdk
<?php
require 'vendor/autoload.php';

use ContentHub\Client;

$client = new Client('your_api_key_here');

Java

<dependency>
  <groupId>com.content-hub</groupId>
  <artifactId>sdk</artifactId>
  <version>1.0.0</version>
</dependency>
import com.content_hub.sdk.Client;

Client client = new Client("your_api_key_here");

SDK Features

Automatic Retries

Built-in retry logic for failed requests

Secure by Default

HTTPS-only with secure credential handling

Comprehensive Logging

Detailed request/response logging

Rate Limit Handling

Automatic rate limit detection and backoff

Type Safety

Full TypeScript support with type definitions

Async Support

Native async/await support in all languages

Community SDKs

Can't find an SDK for your language? Check our community contributions or contribute your own SDK to help other developers.