getStream

Fetches information about an ongoing stream.

version(TwitchSupport && WithTwitchPlugin)
package
getStream
(,
const string loginName
,
const string caller = __FUNCTION__
)

Parameters

plugin TwitchPlugin

The current TwitchPlugin.

loginName string

Account name of user whose stream to fetch information of.

caller string

Name of the calling function.

Return Value

Type: auto

A Room.Stream populated with all (relevant) information.

Throws

UnexpectedJSONException on unexpected JSON received.

See Also