Turbostars – Sportsbook Modules
How It Works?
Usage
Basic Setup
// Initialize the SDK
const sdk = await Hub88Games.init({
provider_token: 'YOUR_TOKEN',
partner_key: 'YOUR_PARTNER_KEY',
launcher_base_url: 'https://launcher.example.com'
});
// Get the provider instance
const provider = sdk.getProviderInstance();
// Retrieve modules with auto-injection enabled
const modules = provider.getModules();Available Module Methods
1. Bet slip Count Tracking
2. Categorizer Data Subscription
Parameter
Type
Required
3. Get Tournaments by Discipline
Parameter
Type
Required
Description
Future Method Support
TypeScript Types
Best Practices
Call getModules() After Initialization
getModules() After InitializationReuse the Same Modules Instance
Handle Errors Gracefully
Last updated
Was this helpful?

