SDKs & Libraries

Official client libraries to integrate Regen Therapy API into your applications.

Official SDKs

JavaScript / Node.js
v2.1.0
Full-featured SDK for Node.js and browser environments
npm install @regentherapy/sdk
Python
v1.8.0
Async-first Python SDK with type hints
pip install regentherapy
PHP
v1.5.0
Composer package for Laravel and vanilla PHP
composer require regentherapy/sdk

Quick Start Examples

Initialize the Client
import { RegenTherapy } from '@regentherapy/sdk';

const client = new RegenTherapy({
  apiKey: process.env.REGEN_API_KEY,
  // Optional: custom base URL for enterprise deployments
  // baseUrl: 'https://gateway.regentherapy.com'
});
Create an Order
const order = await client.orders.create({
  customerId: 'cus_abc123',
  items: [
    { productId: 'prod_xyz', quantity: 2, unitPrice: 29.99 }
  ],
  shippingAddress: {
    line1: '123 Main St',
    city: 'San Francisco',
    state: 'CA',
    postalCode: '94102',
    country: 'US'
  }
});

console.log('Order created:', order.id);
List Products with Pagination
// Fetch products with auto-pagination
for await (const product of client.products.list({ limit: 100 })) {
  console.log(product.name, product.sku);
}

// Or fetch a single page
const { data, pagination } = await client.products.list({
  page: 1,
  limit: 20,
  active: true
});

API Tools

Postman Collection
Ready-to-use collection with all API endpoints
OpenAPI Spec
Machine-readable API specification

Community SDKs

These SDKs are maintained by the community. We do not provide official support for them.

GoCommunity
go get github.com/community/regentherapy-go
RubyCommunity
gem install regentherapy
C#Community
dotnet add package RegenTherapy.SDK