movieById
GET
/v4/movies/:id
This method returns a single movie record. For official documentation of the endpoint, please refer to the Swagger documentation.
Parameters
Params | Type | Required | Description |
---|---|---|---|
id | string | Yes | The movie id |
Example
import { TheTVDB } from '@untidy/thetvdb';
const client = new TheTVDB('access token');const data = await client.movieById('12586');
Successful response output
{ status: 'success', data: { id: 12586, name: '超時空要塞マクロス 愛・おぼえていますか', slug: 'macross-do-you-remember-love', // .. },};