SDK
Available SDKs
Language
Package
Documentation
Features
Getting Started
Quick Start Example (Node.js)
Support
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
const { TradeClient } = require('@lsports/trade-sdk');
const client = new TradeClient({
packageId: 'YOUR_PACKAGE_ID',
username: 'YOUR_USERNAME',
password: 'YOUR_PASSWORD'
});
client.on('fixture', (message) => {
console.log('Fixture update:', message.fixtureId);
});
client.on('market', (message) => {
console.log('Market update:', message.fixtureId);
});
await client.connect();