TwitchSearch class abstract

You can find methods to search all the information that you need about channels, categories, user or streams

Inheritance
Implementers

Constructors

TwitchSearch(String? token, String? clientId)

Properties

client → TwitchHttpClient
Used by the package for making HTTP requests
no setterinherited
clientId String?
Unique id for each application
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String?
Update the token
finalgetter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
searchCategories({required String query, int? first, String? after}) Future<HttpResult<OpenApiSearchCategoriesResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#search-categories
searchChannels({required String query, int? first, String? after, bool? isLive}) Future<HttpResult<OpenApiSearchChannelsResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#search-channels
searchStreams({String? after, String? before, int? first, String? gameId, String? language, String? userId, String? userLogin}) Future<HttpResult<OpenApiGetStreamsResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#get-streams
searchUser({int? id, String? login}) Future<HttpResult<OpenApiSearchUsersResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#get-users
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited