Skip to main content

Bits - Get Cheermotes

Description

Retrieves the list of available Cheermotes, animated emotes to which viewers can assign Bits, to cheer in chat.

Method Definition

@RequestLine("GET /bits/cheermotes?broadcaster_id={broadcaster_id}")
@Headers("Authorization: Bearer {token}")
HystrixCommand<CheermoteList> getCheermotes(
@Param("token") String authToken,
@Param("broadcaster_id") String broadcasterId
);

Required Parameters

NameTypeDescription
authTokenstringAuth Token

Optional Query String Parameters

NameTypeDescription
broadcaster_idstringID for the broadcaster who might own specialized Cheermotes.

Code-Snippets

CheermoteList cheermoteList = twitchClient.getHelix().getCheermotes(authToken, "41245072").execute();
cheermoteList.getCheermotes().forEach(cheermote -> {
System.out.println(cheermote.getPrefix());
cheermote.getTiers().forEach(tier -> {
System.out.println(tier.getId() + " " + tier.getImages().getLight().getAnimatedImages().getSize40());
});
});