SDK
Lightweight SDKs to integrate Arara license validation directly in your app.
JavaScript / TypeScript
Works in Node.js, Electron, Tauri (via sidecar), and any JS runtime with fetch.
Install
npm install @arara/sdk
Usage
import { AraraClient } from '@arara/sdk';
const arara = new AraraClient({ appId: 'your-app-id' });
// At launch — check license
const result = await arara.validateLicense(userInputKey);
if (!result.valid) {
// Show purchase / activation screen
openLicenseModal();
}Python
pip install arara-sdk
from arara import AraraClient
client = AraraClient(app_id="your-app-id")
result = client.validate_license(license_key)
if not result["valid"]:
raise PermissionError(result["message"])Rust / Tauri
# Cargo.toml [dependencies] arara-sdk = "0.1"
use arara_sdk::AraraClient;
let client = AraraClient::new("your-app-id");
let result = client.validate_license(&license_key).await?;
if !result.valid {
return Err(anyhow::anyhow!(result.message));
}Manual Integration
No SDK? Call the REST API directly. See the API Docs for request/response format. The endpoint is public and CORS-enabled.
SDK Source Code
All official Arara SDKs are open-source. Find them at github.com/arara-app. PRs and bug reports welcome.
Status
Coming Soon
The SDK packages are currently in private beta. If you want early access to test with your app before public launch, email devs@arara.app with your app name and stack.