Appearance
Class: ScheduleService
Read-only access to the broadcaster's Twitch schedule.
Constructors
Constructor
ts
new ScheduleService(): ScheduleService;Returns
ScheduleService
Methods
get()
ts
get(options?): Promise<TwitchSchedule>;Returns one page of upcoming schedule segments.
Parameters
options?
ScheduleGetOptions = {}
Returns
Promise<TwitchSchedule>
getNext()
ts
getNext(): Promise<TwitchScheduleSegment>;Returns the next non-cancelled scheduled stream, if any.
Returns
Promise<TwitchScheduleSegment>