tebex
v1.0.1
Published
Tebex (Buycraft) nodejs unofficial SDK with typescript support
Downloads
18
Maintainers
Readme
NodeJS Tebex SDK
Example
import { Tebex } from "tebex";
const tebex = new Tebex(process.env.TEBEX_STORE_SECRET);
tebex.information.get().then(console.log);
Log Example:
={
account: {
id: 1123268,
domain: 'https://tebex.dicraft.net',
name: 'DiCraft Online Store',
currency: { iso_4217: 'USD', symbol: '$' },
online_mode: true,
game_type: 'Minecraft (Offline/Geyser)',
log_events: true
},
server: { id: 1405737, name: 'DiCraft Online Store' },
analytics: { internal: { project: '', key: '' } }
}