Documentation

Ship PlaySuper in
under 30 minutes.

A 1.4 MB SDK, four lines of code, one webhook. Quickstarts for Unity, iOS, Android, and Web, plus a complete REST API reference and event schema.

Quickstart

Go live in 4 steps.

STEP 01 Install the SDK One line via your package manager. Native binaries weigh in at 1.4 MB compressed. ~ 2 min
STEP 02 Authenticate Grab your apiKey from the Studio Console and initialise PlaySuper. ~ 3 min
STEP 03 Send game events Track sessions, level-ups, currency spend. We do the rest with our placement engine. ~ 8 min
STEP 04 Ship to production No app-store re-submission. Touchpoints are configured server-side via the Console. ~ 12 min
Installation

Pick your platform.

manifest.json
// 1. Install via Unity Package Manager
"dependencies": {
  "com.playsuper.sdk": "https://github.com/playsuper/unity-sdk.git#1.0.0"
}

// 2. Initialise in your bootstrap scene
using PlaySuper;

void Awake() {
  PlaySuperSDK.Init(new PlaySuperConfig {
    apiKey = "ps_live_xxxxxxxxxxxxxxxxxxxx",
    environment = Environment.Production,
  });

  // Track a session-start event
  PlaySuperSDK.Track("session_start", new { level = 12 });
}
AppDelegate.swift
// 1. Add via Swift Package Manager
// File → Add Packages → https://github.com/playsuper/ios-sdk

import PlaySuper

// 2. Initialise in didFinishLaunchingWithOptions
PlaySuper.initialise(
  apiKey: "ps_live_xxxxxxxxxxxxxxxxxxxx",
  environment: .production
)

// 3. Track events from anywhere
PlaySuper.track(
  event: "level_complete",
  properties: ["level": 12, "score": 4850]
)
build.gradle.kts
// 1. Add dependency in app/build.gradle.kts
dependencies {
  implementation("club.playsuper:sdk:1.0.0")
}

// 2. Initialise in Application.onCreate()
import club.playsuper.sdk.PlaySuper

PlaySuper.initialise(
  context = this,
  apiKey = "ps_live_xxxxxxxxxxxxxxxxxxxx",
  environment = Environment.PRODUCTION
)

// 3. Track game events
PlaySuper.track("reward_redeemed", mapOf(
  "brand" to "amazon",
  "value_inr" to 50
))
index.ts
// 1. Install
yarn add @playsuper/web

// 2. Initialise once in your app bootstrap
import { PlaySuper } from '@playsuper/web';

const ps = new PlaySuper({
  apiKey: 'ps_live_xxxxxxxxxxxxxxxxxxxx',
  environment: 'production',
});

// 3. Track events anywhere in your game loop
ps.track('level_complete', { level: 12, score: 4850 });
SDKs

Native bindings, no wrappers.

Stuck on something?

We pair-program with every studio during onboarding. Drop us a line, a real engineer (probably Abhir) will respond, usually within the hour.