Skip to content

movieBySlug

GET /v4/movies/slug/:slug

This method returns a single movie record. For official documentation of the endpoint, please refer to the Swagger documentation.

Parameters

ParamsTypeRequiredDescription
slugstringYesThe movie slug

Example

import { TheTVDB } from '@untidy/thetvdb';
const client = new TheTVDB('access token');
const data = await client.movieBySlug('macross-do-you-remember-love');
Successful response output
{
status: 'success',
data: {
id: 12586,
name: '超時空要塞マクロス 愛・おぼえていますか',
slug: 'macross-do-you-remember-love',
image: 'https://artworks.thetvdb.com/banners/movies/12586/posters/12586.jpg',
nameTranslations: ['ita', 'jpn', 'zho', 'kor', 'nld', 'deu', 'spa', 'fra', 'por', 'hun', 'eng', 'rus'],
overviewTranslations: ['ita', 'jpn', 'zho', 'kor', 'nld', 'deu', 'spa', 'fra', 'por', 'hun', 'eng', 'rus', 'rus'],
aliases: [],
score: 488,
runtime: 114,
status: {
id: 5,
name: 'Released',
recordType: 'movie',
keepUpdated: true,
},
lastUpdated: '2023-05-15 02:16:07',
year: '1984',
},
};