Overview
Methods
Can be accessed using client.hypeTrain on an ApiClient instance.
Example
const api = new ApiClient({ authProvider }); const hypeTrainStatus = await api.hypeTrain.getHypeTrainStatusForBroadcaster('125328655');
Methods
getHypeTrainStatusForBroadcaster(broadcaster)
asyncGets the Hype Train status and statistics for the specified broadcaster.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| broadcaster | UserIdResolvable A user ID or a user or channel object. This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name. Aliased type: string | number | UserIdResolvableType | none | The broadcaster to fetch Hype Train info for. |
Return type: HelixHypeTrainStatus