Viewer API › Streams Legacy
LegacyGET /tournaments/{tournament_id}/streams
This endpoint is in legacy mode. Access will soon be deprecated. It is therefore advised to use another endpoint when possible.
Returns the streams of the given tournament.
Resource URL
https://api.toornament.com/viewer/v2/tournaments/{tournament_id}/streams
HTTP headers
- X-Api-Keystring
API key of your application (see Authentication)
- Rangestring
A range of requested items using the
streams
unit. The size of the range can not exceed 50. (see Pagination)Example: streams=0-49
Path parameters
- tournament_idstring
The id of the tournament you want to retrieve data about.
Query Parameters
- match_idsarray
A list of match ids to filter.
Example: 618954615761465416,234819413984183454
Request Body
This endpoint does not require a request body.
Response
[200] List of tournament stream.
Example
[ { "id": "863174896574643814", "name": "Game 1: TSM vs. EnVyUs", "url": "https:\/\/www.twitch.tv\/stream", "language": "en" } ]
Structure (collection)
- idstring
An identifier for a stream.
Example: "863174896574643814"
- namestring
The title of the stream.
Max. length: 40 characters
Example: "Game 1: TSM vs. EnVyUs"
- urlstring
The URL of the stream.
Max. length: 2,000 characters
Example: "https://www.twitch.tv/stream"
- languagestring
The language code of the stream content in ISO 639-1 code
Example: "en"