🍿 @lorenzopant/tmdb

Jobs

Get the list of departments and jobs used throughout TMDB.

Returns the full list of departments and their associated job titles used throughout TMDB to categorize crew members on movies and TV series.

async jobs(): Promise<ConfigurationJob[]>

TMDB Reference: Configuration Jobs

Parameters

This method takes no parameters.

Returns

An array of ConfigurationJob objects, each representing a department and the jobs within it.

Example

import { TMDB } from "@lorenzopant/tmdb";

const tmdb = new TMDB("your-api-key");
const jobs = await tmdb.configuration.jobs();

console.log(jobs);
// [
//   { department: "Directing", jobs: ["Director", "Co-Director", ...] },
//   { department: "Writing", jobs: ["Screenplay", "Writer", ...] },
//   { department: "Production", jobs: ["Producer", "Executive Producer", ...] },
//   ...
// ]

Types

On this page