Skip to content

SDKs

Two SDKs for apps, each for Swift and Kotlin and released together on one version per repository, plus clients for servers and scripts. Pick by what you are building:

Your app iOS and macOS Android Version
An audience’s own app, for its members (Hot Mess, Hack Different) AudienceKit for Swift AudienceKit for Kotlin 0.101.0 (changelog)
A staff tool: the door, listings, chat moderation, decisions (Focus, Velvet, Backstage, Arbiter) StaffKit for Swift StaffKit for Android 1.0.0
A server, website or script Node and TypeScript, Python, PHP, Rust, Ruby Each versioned on its own (changelogs: Node, Python, PHP, Rust)

AudienceKit is source-available (see the license below) at lwm-luminx/audience-kit-sdk. It signs people in, then reads the audience as the consumer view serves it: venues, people, locales, events, lineups, chat, cover, and the audience’s branding. Swift ships as a package (AudienceCore, AudienceKit, AudienceKitUI) resolved by version tag; Kotlin as com.audiencekit:audiencekit and audiencekit-android, built from a checkout until it is published to Maven; and the Kotlin Multiplatform core is the code both share.

StaffKit is private at lwm-luminx/staff-kit and builds on AudienceKit. It adds the staff session (the platform sign-in and the chosen audience, shared between the staff apps), and the calls of the staff view: venue and talent management, the door, chat moderation and the decision queue. Android adds com.audiencekit:staffkit as extension functions on the member client.

The Node, Python, PHP and Rust clients live in the same repository and send the same module-shaped GraphQL documents as the Swift and Kotlin SDKs, so a website, a bot or a backend job reads an audience the way the apps do. Each takes the token your sign-in produced, or an application API key for a server acting as an app of one audience. The Ruby gem is older and smaller.

AudienceKit calls the audience’s graphql endpoint, StaffKit its staffql endpoint. The two serve the same graph; GraphQL explains the difference, and the SDKs’ door and management calls always use staffql.

The SDKs are source-available, not open source. They ship under the AudienceKit SDK License, which lets you build them into apps and services that connect to AudienceKit as hosted by Love Wins Media (audiencekit.com, the audiences’ own domains, and the development instances it provides), and nothing else: not another implementation of the API. Changes are allowed only in a GitHub fork of the repository, after written notice to Love Wins Media (an app that only depends on the unchanged SDK needs neither), and misrepresenting where the code came from is prohibited. Any other use needs written permission from Love Wins Media, Inc. See Licensing for a plain-language summary.

Each SDK sends its version with every call, and the API refuses versions older than its minimum, so keep up with the changelogs. Clients that track the API’s next branch can validate their documents against /graphql/next/ in CI (see Validate documents).