Thrico Logo

Thrico SDKs & Client Libraries

Official developer SDKs, CDN client libraries, and headless UI tooling for the Thrico Platform.

Thrico provides official client libraries and standalone browser SDKs designed for zero-overhead integration into native web and mobile platforms.


Available SDKs

1. Thrico Enterprise Leaderboard SDK (@thrico/leaderboard-sdk)

A high-performance, zero-iframe client library for rendering real-time rankings, top performer podiums, and badge tiers directly in React, Next.js, Vue, Angular, or vanilla HTML/JS web applications.

Installation:

npm install @thrico/leaderboard-sdk

Quick Example:

import { ThricoLeaderboardClient } from "@thrico/leaderboard-sdk";
 
const client = new ThricoLeaderboardClient({
  clientId: "thrico_client_YOUR_CLIENT_ID",
  endpoint: "https://sdk.thrico.network",
  autoRefreshIntervalMs: 30000, // Optional 30s auto-sync
});
 
// Fetch Top 3 for Podium
const { topEntries } = await client.getTopUsers("rewards_monthly_champions", { limit: 3 });
 
// Fetch Paginated Standings
const { entries, pagination } = await client.getEntries("rewards_monthly_champions", { page: 1, limit: 20 });

Dashboard Administration: Manage client credentials, whitelist domains (CORS), and generate instant embed widgets in the Thrico Admin Portal at /gamification/points-and-badges/settings/leaderboard.


Comprehensive Guides

On this page