JustKalm SDKs
Enterprise-grade SDKs for Python, TypeScript, and mobile platforms. Build intelligent product analysis with health scoring, sustainability ratings, and AI-powered valuations.
Key Features
Health Scoring
AI-powered health impact analysis based on materials and ingredients
Sustainability Ratings
Environmental impact scoring with material lifecycle analysis
Market Valuations
Real-time pricing intelligence with confidence scoring
Batch Processing
High-throughput operations for enterprise workloads
Enterprise Ready
Automatic Retries
Exponential backoff with jitter for reliable operations
Circuit Breaker
Resilience patterns to prevent cascading failures
Rate Limiting
Client-side throttling to prevent 429 errors
Webhook Security
HMAC-SHA256 signature verification for webhooks
Available SDKs
Python SDK
Async-first Python SDK with full type hints. Ideal for backend services, data pipelines, and ML workflows.
pip install justkalm-sdkTypeScript SDK
Full TypeScript support for Node.js and browsers. React hooks included for seamless frontend integration.
npm install @justkalm/sdkMobile SDK
Native SDKs for React Native, Flutter, iOS, and Android. Includes AR visualization and offline mode.
npm install @justkalm/react-nativePython Quick Start
import asyncio
from justkalm import JustKalmClient, ProductCreateParams
async def main():
async with JustKalmClient(api_key="jk_live_...") as client:
# Create a product
product = await client.products.create(ProductCreateParams(
name="Organic Cotton T-Shirt",
brand="EcoWear",
category="apparel",
materials={"organic_cotton": 0.95, "elastane": 0.05}
))
# Get health valuation
valuation = await client.valuations.create(product.id)
print(f"Health Score: {valuation.health_score}/100")
print(f"Value: ${valuation.adjusted_value:.2f}")
asyncio.run(main())TypeScript Quick Start
import { JustKalm } from '@justkalm/sdk';
const client = new JustKalm({
apiKey: process.env.JUSTKALM_API_KEY!,
});
// Create a product
const product = await client.products.create({
name: 'Organic Cotton T-Shirt',
brand: 'EcoWear',
category: 'apparel',
materials: { organic_cotton: 0.95, elastane: 0.05 },
});
// Get health valuation
const valuation = await client.valuations.create(product.id, {
includeHealth: true,
includeSustainability: true,
});
console.log(`Health Score: ${valuation.healthScore}/100`);
console.log(`Value: $${valuation.adjustedValue.toFixed(2)}`);SDK Architecture
┌─────────────────────────────────────────────────────────────────┐ │ Your Application │ ├─────────────────────────────────────────────────────────────────┤ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ │ │ Python │ │ TypeScript │ │ Mobile │ │ │ │ SDK │ │ SDK │ │ SDK │ │ │ └──────┬──────┘ └──────┬──────┘ └──────┬──────┘ │ │ │ │ │ │ │ ┌──────┴────────────────┴────────────────┴──────┐ │ │ │ Unified SDK Layer │ │ │ │ ┌─────────┐ ┌─────────┐ ┌─────────┐ │ │ │ │ │ Retry │ │ Circuit │ │ Rate │ │ │ │ │ │ Handler │ │ Breaker │ │ Limiter │ │ │ │ │ └─────────┘ └─────────┘ └─────────┘ │ │ │ └──────────────────────┬────────────────────────┘ │ ├─────────────────────────┼───────────────────────────────────────┤ │ │ │ │ HTTPS/WSS │ api.justkalm.com │ │ ▼ │ ├─────────────────────────────────────────────────────────────────┤ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ │ │ Products │ │ Valuations │ │ Insights │ │ │ │ Service │ │ Engine │ │ Engine │ │ │ └─────────────┘ └─────────────┘ └─────────────┘ │ │ JustKalm API │ └─────────────────────────────────────────────────────────────────┘
Need Help?
Our developer support team is here to help you integrate JustKalm into your applications.