Class: Twitch::V2::StreamSummary

Inherits:
Object
  • Object
show all
Defined in:
lib/kappa/stream.rb

Overview

Site-wide stream summary statistics.

See Also:

Instance Attribute Summary collapse

Instance Attribute Details

#channel_countFixnum (readonly)

Returns The count of all channels currently streaming.

Examples:

4144

Returns:

  • (Fixnum)

    The count of all channels currently streaming.



91
92
93
# File 'lib/kappa/stream.rb', line 91

def channel_count
  @channel_count
end

#viewer_countFixnum (readonly)

Returns The sum of all viewers across all live streams.

Examples:

194774

Returns:

  • (Fixnum)

    The sum of all viewers across all live streams.



86
87
88
# File 'lib/kappa/stream.rb', line 86

def viewer_count
  @viewer_count
end