Skip to main content

Examples

Public example repositories and SDK packages will be published with closed beta access. This page shows the intended integration shape across common client environments.

TypeScript

import {SenticoHttpClient} from '@sentico-labs/sdk';

const client = new SenticoHttpClient({
baseUrl: 'https://api.beta.sentico-labs.xyz',
});

const markets = await client.markets();

Python

import requests

base_url = "https://api.beta.sentico-labs.xyz"
markets = requests.get(f"{base_url}/api/v1/public/markets", timeout=5).json()

Rust

let client = reqwest::Client::new();
let markets = client
.get("https://api.beta.sentico-labs.xyz/api/v1/public/markets")
.send()
.await?
.text()
.await?;

Production checklist

  • Use idempotency keys for all order placement.
  • Persist stream cursors while the process is alive.
  • Handle retryable errors with bounded backoff.
  • Separate public market-data clients from private account clients.
  • Monitor sequence gaps, reconnects, rejects, and rate-limit events.