⚠️CinePro is still in development! Learn more!⚠️
JavaScript
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>" } ] }
Returns streaming sources for a TV show by TMDB ID, season, and episode
TMDB ID of the TV show
Season number
Episode number
Successful operation
Array of video files (see what kind of files below) from various sources
Show child attributes
Array of subtitle files
Array of errors (Attention: You will only see this in debug mode)