SDKs

Twelve languages, one behaviour.

Every SDK implements the same contract: buffered capture that never throws into your code, batching with size and count limits, retries with backoff for transient failures only, and a bounded queue that drops analytics before it ever drops your throughput. Pick your language; the semantics come with it.

Node.js

The official TopStats Node.

Python

The official TopStats Python analytics SDK: buffered, thread-safe event capture and feature flags with no dependencies.

Go

The official TopStats Go analytics library: buffered event capture and feature flags with functional options and zero dependencies.

PHP

The official TopStats PHP analytics SDK: buffered event capture and feature flags with no dependencies and an honest no-threads design.

Rust

The official TopStats Rust analytics SDK: a builder-configured client with a worker-thread flush loop.

C# / .NET

The official TopStats C# analytics SDK for .

Java

The official TopStats Java analytics SDK: Java 8 compatible buffered client used by the Minecraft plugin and the servlet/Spring Boot middleware.

Kotlin

The official TopStats Kotlin analytics SDK: idiomatic default-argument API over the shared wire contract, plus a Ktor server plugin.

Ruby

The official TopStats Ruby analytics SDK: dependency-free buffered client with keyword-argument capture, plus Rack middleware and a Rails Railtie.

Elixir

The official TopStats Elixir analytics SDK: a GenServer-based buffered client that slots into your supervision tree, plus a Phoenix/Plug integration.

Swift

The official TopStats Swift analytics SDK: Foundation-only buffered client on a serial DispatchQueue, installable today via Swift Package Manager.

Lua

The official TopStats Lua analytics SDK: a dependency-free, platform-injectable core that powers the FiveM, Garry’s Mod and Roblox integrations - and any Lua runtime you give an HTTP function.

Your first event is minutes away.

Twelve language SDKs, middleware for nine web frameworks, plugins for seven games, and raw HTTP - all working today. Free plan, 2M events a month, no card.