Skip to main content
GET
/
tv
/
{tmdbId}
Get TV Show Sources
const options = {method: 'GET'};

fetch('http://localhost:3000/tv/{tmdbId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "files": [
    {
      "file": "<string>",
      "type": "hls",
      "lang": "<string>"
    }
  ],
  "subtitles": [
    {
      "url": "<string>",
      "lang": "<string>"
    }
  ],
  "errors": [
    {
      "message": "<string>",
      "response": 123,
      "hint": "<string>",
      "error": true,
      "reportTo": "<string>"
    }
  ]
}

Path Parameters

tmdbId
string
required

TMDB ID of the TV show

Query Parameters

s
string
required

Season number

e
string
required

Episode number

Response

Successful operation

files
object[]

Array of video files (see what kind of files below) from various sources

subtitles
object[]

Array of subtitle files

errors
object[]

Array of errors (Attention: You will only see this in debug mode)