twitcheasy-twitch-bottwitch-authtwitch-auth-tmitwitch-chat-clienttwitch-eventsubtwitch-pubsub-clienttwitch-webhooks
Welcome

Classes

ApiClientBadgesApiBitsApiChannelChannelApiChannelFollowChannelPlaceholderChannelSubscriptionChatApiChatBadgeListChatBadgeSetChatBadgeVersionChatEmoteChatEmoteListChattersListCheermoteListConfigErrorCreatedVideoEmoteSetListHelixApiGroupHelixBanHelixBanEventHelixBitsApiHelixBitsLeaderboardHelixBitsLeaderboardEntryHelixChannelHelixChannelApiHelixChannelEditorHelixChannelEmoteHelixChannelPointsApiHelixChannelSearchResultHelixChatApiHelixChatBadgeSetHelixChatBadgeVersionHelixCheermoteListHelixClipHelixClipApiHelixCustomRewardHelixCustomRewardRedemptionHelixEmoteHelixEmoteFromSetHelixEventSubApiHelixEventSubSubscriptionHelixExtensionsApiHelixExtensionTransactionHelixFollowHelixGameHelixGameApiHelixHypeTrainApiHelixHypeTrainContributionHelixHypeTrainEventHelixInstalledExtensionHelixInstalledExtensionListHelixModerationApiHelixModeratorHelixModeratorEventHelixPaginatedRequestHelixPaginatedRequestWithTotalHelixPaginatedScheduleSegmentRequestHelixPollHelixPollApiHelixPollChoiceHelixPredictionHelixPredictionApiHelixPredictionOutcomeHelixPredictorHelixPrivilegedUserHelixScheduleHelixScheduleApiHelixScheduleSegmentHelixSearchApiHelixStreamHelixStreamApiHelixStreamMarkerHelixStreamMarkerWithVideoHelixSubscriptionHelixSubscriptionApiHelixSubscriptionEventHelixTagHelixTagApiHelixTeamHelixTeamApiHelixTeamWithUsersHelixUserHelixUserApiHelixUserBlockHelixUserExtensionHelixUserRelationHelixUserSubscriptionHelixVideoHelixVideoApiHelixWebHooksApiHelixWebHookSubscriptionKrakenApiGroupNoSubscriptionProgramErrorPrivilegedChannelPrivilegedUserSearchApiStreamStreamApiStreamNotLiveErrorSubscriptionTeamTeamApiTeamWithUsersUnsupportedApiUserUserApiUserBlockUserChatInfoUserFollowUserSubscriptionVideoVideoApi

HelixSearchApi

The Helix API methods that run searches.

Overview

Can be accessed using client.helix.search on an ApiClient instance.

Example

const api = new ApiClient(new StaticAuthProvider(clientId, accessToken));
const channels = await api.helix.search.searchChannels('pear');

Methods

searchCategories(query, pagination)

async

Search categories/games for an exact or partial match.

ParameterTypeRequiredDefaultDescription
querystringnone

The search term.

paginationHelixForwardPagination{}
pagination.afterstringnone

A cursor to get the following page of.

pagination.limitstringnone

The number of results per page.

searchCategoriesPaginated(query)

Creates a paginator for a category/game search.

ParameterTypeRequiredDefaultDescription
querystringnone

The search term.

searchChannels(query, filter)

async

Search channels for an exact or partial match.

ParameterTypeRequiredDefaultDescription
querystringnone

The search term.

filterHelixPaginatedChannelSearchFilter{}
filter.afterstringnone

A cursor to get the following page of.

filter.limitstringnone

The number of results per page.

filter.liveOnlybooleannone

Include only channels that are currently live.

searchChannelsPaginated(query, filter)

Creates a paginator for a channel search.

ParameterTypeRequiredDefaultDescription
querystringnone

The search term.

filterHelixChannelSearchFilter{}
filter.liveOnlybooleannone

Include only channels that are currently live.

Return type: HelixPaginatedRequest<HelixChannelSearchResultData, HelixChannelSearchResult>