Streams

GET /tournaments/{tournament_id}/streams

Simple Access

Returns the streams of the given tournament.

Resource URL

https://api.toornament.com/viewer/v2/tournaments/{tournament_id}/streams

HTTP headers

  • X-Api-Key
    string

    API key of your application (see Authentication)

  • Range
    string

    A range of requested items using the streams unit. The size of the range cannot exceed 50. (see Pagination)

    Example: streams=0-49

Path parameters

  • tournament_id
    string

    The id of the tournament for which streams must be retrieved

Query Parameters

  • match_ids
    array

    A list of match ids to filter

    Example: 618954615761465416,234819413984183454

Request Body

This endpoint doesn't require a request body.

Response

[200] Streams retrieved

Example
{
    "id": "1146390604275957762",
    "name": "Stream",
    "url": "https:\/\/www.twitch.tv\/stream",
    "language": "en"
}
Structure (object)
  • id
    string

    Id of the stream.

    Example: "1146390604275957762"

  • name
    string

    Title of the stream.

    Example: "Stream"

  • url
    string

    Url of the stream.

    Example: "https://www.twitch.tv/stream"

  • language
    string

    Language code of the stream content. This value is represented as an ISO 639-1 code.

    Example: "en"