🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@plotwist_app/tmdb

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@plotwist_app/tmdb

A TypeScript library for interacting with The Movie Database (TMDB) API, offering strongly-typed and modular access to movies, TV shows, and other media.

0.2.5
latest
Source
npm
Version published
Maintainers
0
Created
Source

A TypeScript library for interacting with The Movie Database (TMDB) API, offering strongly-typed and modular access to movies, TV shows, and other media.

Installation

npm install @plotwist_app/tmdb

Usage

Initialize the client with your API key:

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

const tmdb = TMDB("YOUR_TMDB_ACCESS_TOKEN");

Examples:

  • Get Movie Details:

    const movie = await tmdb.movies.details(550, "en-US");
    
  • Multi search:

    const results = await search.multi("Inception", "en-US");
    

License

This project is licensed under the MIT License.

Keywords

tmdb

FAQs

Package last updated on 22 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts