hub.stats.costValuehub.stats.costLabel
hub.stats.revenueValuehub.stats.revenueLabel
hub.stats.speedValuehub.stats.speedLabel
hub.threeStepsTitle
hub.steps.register.label
hub.steps.register.desc
hub.steps.embed.label
hub.steps.embed.desc
hub.steps.earn.label
hub.steps.earn.desc
hub.terminalTitle
hub.terminalSubtitle
Terminal
$ npx @trillboards/ads-sdk init
Company name: Acme Vending
Email: dev@acme.co
Registering...
Your API Key: trb_partner_a1b2c3...
Device ID: fp_x9y8z7w6...
Embed URL: https://screen.trillboards.com?fp=fp_x9y8z7w6
API key saved to .env β
hub.orProgrammatically
// 3 lines to register + start showing ads
import { PartnerClient } from '@trillboards/ads-sdk/server';
const result = await PartnerClient.quickStart({
companyName: 'Acme Vending',
email: 'dev@acme.co',
});
// result.client is a pre-authenticated PartnerClient
// result.device.embed_url is the URL to load in your screen
hub.why.infrastructure.headline
hub.why.infrastructure.body
hub.why.infrastructure.stat
hub.why.infrastructure.statLabel
hub.why.revenue.headline
hub.why.revenue.body
hub.why.revenue.stat
hub.why.revenue.statLabel
hub.why.proof.headline
hub.why.proof.body
hub.why.proof.stat
hub.why.proof.statLabel