Package io.github.bbobbogi.stream4j.soop
Class SOOP
java.lang.Object
io.github.bbobbogi.stream4j.soop.SOOP
SOOP (formerly AfreecaTV) platform API client.
Provides channel and live status queries and creates chat clients.
- Since:
- 1.0.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionCreates a chat builder for the given streamer.getChannel(String streamerId) Retrieves basic channel information for the given streamer.getLiveInfo(String streamerId) Retrieves live broadcast metadata for the given streamer.booleanChecks whether the given streamer is currently live.
-
Field Details
-
isDebug
public boolean isDebug
-
-
Method Details
-
getLiveInfo
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
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
Checks whether the given streamer is currently live.- Parameters:
streamerId- SOOP streamer ID- Returns:
trueif the streamer is live, otherwisefalse- Throws:
IOException- if live information lookup fails
-
chat
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
-