import { TrophyApiClient } from '@trophyso/node';
const trophy = new TrophyApiClient({
apiKey: 'YOUR_API_KEY'
});
const response = await trophy.admin.points.boosts.create({
systemKey: 'xp',
boosts: [
{
userId: 'user-123',
name: 'Double XP Weekend',
start: '2024-01-01',
end: '2024-01-03',
multiplier: 2
},
{
userId: 'user-456',
name: 'Holiday Bonus',
start: '2024-12-25',
multiplier: 1.5,
rounding: 'up'
}
]
});