# CLASS GOT AUTOGENERATED DON'T CHANGE MANUALLY. CHANGES CAN BE OVERWRITTEN EASILY.
class_nameTwitchGetStreams
##
## #/components/schemas/GetStreamsResponse
classResponseextendsTwitchData:
## The list of streams.
@exportvardata:Array[TwitchStream]:
set(val):
data=val
track_data(&"data",val)
## The information used to page through the list of results. The object is empty if there are no more pages left to page through. [Read More](https://dev.twitch.tv/docs/api/guide#pagination)
## The information used to page through the list of results. The object is empty if there are no more pages left to page through. [Read More](https://dev.twitch.tv/docs/api/guide#pagination)
## The cursor used to get the next page of results. Set the request’s _after_ or _before_ query parameter to this value depending on whether you’re paging forwards or backwards.
## All optional parameters for TwitchAPI.get_streams
## #/components/schemas/GetStreamsOpt
classOptextendsTwitchData:
## A user ID used to filter the list of streams. Returns only the streams of those users that are broadcasting. You may specify a maximum of 100 IDs. To specify multiple IDs, include the _user\_id_ parameter for each user. For example, `&user_id=1234&user_id=5678`.
@exportvaruser_id:Array[String]:
set(val):
user_id=val
track_data(&"user_id",val)
## A user login name used to filter the list of streams. Returns only the streams of those users that are broadcasting. You may specify a maximum of 100 login names. To specify multiple names, include the _user\_login_ parameter for each user. For example, `&user_login=foo&user_login=bar`.
@exportvaruser_login:Array[String]:
set(val):
user_login=val
track_data(&"user_login",val)
## A game (category) ID used to filter the list of streams. Returns only the streams that are broadcasting the game (category). You may specify a maximum of 100 IDs. To specify multiple IDs, include the _game\_id_ parameter for each game. For example, `&game_id=9876&game_id=5432`.
@exportvargame_id:Array[String]:
set(val):
game_id=val
track_data(&"game_id",val)
## The type of stream to filter the list of streams by. Possible values are:
##
## * all
## * live
##
## The default is _all_.
@exportvartype:String:
set(val):
type=val
track_data(&"type",val)
## A language code used to filter the list of streams. Returns only streams that broadcast in the specified language. Specify the language using an ISO 639-1 two-letter language code or _other_ if the broadcast uses a language not in the list of [supported stream languages](https://help.twitch.tv/s/article/languages-on-twitch#streamlang).
##
## You may specify a maximum of 100 language codes. To specify multiple languages, include the _language_ parameter for each language. For example, `&language=de&language=fr`.
@exportvarlanguage:Array[String]:
set(val):
language=val
track_data(&"language",val)
## The maximum number of items to return per page in the response. The minimum page size is 1 item per page and the maximum is 100 items per page. The default is 20.
@exportvarfirst:int:
set(val):
first=val
track_data(&"first",val)
## The cursor used to get the previous page of results. The **Pagination** object in the response contains the cursor’s value. [Read More](https://dev.twitch.tv/docs/api/guide#pagination)
@exportvarbefore:String:
set(val):
before=val
track_data(&"before",val)
## The cursor used to get the next page of results. The **Pagination** object in the response contains the cursor’s value. [Read More](https://dev.twitch.tv/docs/api/guide#pagination)