BlushyFace.Twitch
BlushyFace.Twitch.API.Helix.Endpoints.HypeTrain Class Reference

Implemented More...

Public Member Functions

 HypeTrain (HttpHandler httpHandler)
 
async Task< HypeTrainResponse > GetHypeTrainEventsAsync (List< KeyValuePair< string, string >> parameters=null)
 

Detailed Description

Implemented

Constructor & Destructor Documentation

◆ HypeTrain()

BlushyFace.Twitch.API.Helix.Endpoints.HypeTrain.HypeTrain ( HttpHandler  httpHandler)
inline

Parameters
httpHandler

Member Function Documentation

◆ GetHypeTrainEventsAsync()

async Task<HypeTrainResponse> BlushyFace.Twitch.API.Helix.Endpoints.HypeTrain.GetHypeTrainEventsAsync ( List< KeyValuePair< string, string >>  parameters = null)
inline

Gets the information of the most recent Hype Train of the given channel ID. When there is currently an active Hype Train, it returns information about that Hype Train. When there is currently no active Hype Train, it returns information about the most recent Hype Train. After 5 days, if no Hype Train has been active, the endpoint will return an empty response.

Required scope: channel:read:hype_train

More info: https://dev.twitch.tv/docs/api/reference#get-hype-train-events

Parameters
parameters
Returns