TwurpleAuthenticationGetting dataExamplesMigration

Data overview

Getting data from the Twitch API is sadly split into many systems. Here's some handy tables on which library you can and should use for which use case.

Current state & actions

Operation@twurple/api@twurple/chat
Start an adYesYes
Get Bits leaderboardYesNo
Get available CheermotesYesNo
Get Extension transactionsYesNo
Get channel category/titleYesNo
Set channel category/titleYesNo
Get channel editorsYesNo
Manage custom rewards & redemptionsYesNo
Get available emotes & badgesYesNo
Get & create clipsYesNo
Manage dropsNo (supported by Twitch)No
Manage extensionsPartial (more supported by Twitch)No
Get category infoYesNo
Manage polls & predictionsYesNo
Get banned usersYesNo
Ban/unban/timeout usersNoYes
Get & manage schedulesYesNo
Search categoriesYesNo
Search channelsYesNo
Get stream keyYesNo
Get info about streamsYesNo
Manage stream markersYesNo
Get list of subscribersYesNo
Check subscriptionYesOnly when they write a message
Get list of VIPsNoYes
Check VIPNoOnly when they write a message
Get list of moderatorsYesYes
Manage moderatorsNoYes
Get & manage stream tagsYesNo
Get team infoYesNo
Get user infoYesLogin, display name, ID only
Get & manage followsYesNo
Get & manage VODsYesNo
Host usersNoYes
Raid usersNoYes
Send chat messagesNoYes
Remove chat messagesNoYes
Set chat modes (e.g. emote/sub/follower only)NoYes

Events

Event type@twurple/api@twurple/chat@twurple/pubsub@twurple/eventsub
Chat messagesNoYesSub & cheer messages onlySub & cheer messages only
Chat mode (e.g. sub only) changesNoYesNoNo
WhispersNoYesYesNo
CheersNoYesYesYes
Channel pointsNoRedemptions w/ messages onlyRedemptions onlyYes
SubscriptionsHistory onlyPublished onlyPublished onlyYes
AutoModNoNoYesNo
Live / offline / stream changesNoNoNoYes
FollowsNoNoNoYes
HostsNoYesNoNo
RaidsNoYesNoYes
BansHistory onlyYesYesYes
Mod add/removeHistory onlyNoYesYes
Polls & predictionsNoNoNoYes
Extension transactionsNoNoNoYes
Hype TrainsHistory onlyNoNoYes
AuthorizationNoNoNoPartial (WIP, more events supported by Twitch)
DropsNoNoNoNo (supported by Twitch)
Additional concerns---As of now, must have a public server