Class SOOP

java.lang.Object
io.github.bbobbogi.stream4j.soop.SOOP

public class SOOP extends Object
SOOP (formerly AfreecaTV) platform API client.

Provides channel and live status queries and creates chat clients.

Since:
1.0.0
  • Field Details

    • isDebug

      public boolean isDebug
  • Method Details

    • getLiveInfo

      public SOOPLiveInfo getLiveInfo(String streamerId) throws IOException
      Retrieves live broadcast metadata for the given streamer.
      Parameters:
      streamerId - SOOP streamer ID
      Returns:
      live information resolved from the SOOP live detail API
      Throws:
      IOException - if the request fails or the response is invalid
    • getChannel

      public SOOPChannelInfo getChannel(String streamerId) throws IOException
      Retrieves basic channel information for the given streamer.
      Parameters:
      streamerId - SOOP streamer ID
      Returns:
      channel information including display name and live state
      Throws:
      IOException - if live information lookup fails
    • isLive

      public boolean isLive(String streamerId) throws IOException
      Checks whether the given streamer is currently live.
      Parameters:
      streamerId - SOOP streamer ID
      Returns:
      true if the streamer is live, otherwise false
      Throws:
      IOException - if live information lookup fails
    • chat

      public SOOPChatBuilder chat(String streamerId)
      Creates a chat builder for the given streamer.
      Parameters:
      streamerId - SOOP streamer ID or supported SOOP URL
      Returns:
      a new chat builder for chat and donation connection