@plotwist_app/tmdb
TypeScript icon, indicating that this package has built-in type declarations

0.2.5 • Public • Published

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.

/@plotwist_app/tmdb/

    Package Sidebar

    Install

    npm i @plotwist_app/tmdb

    Weekly Downloads

    3

    Version

    0.2.5

    License

    MIT

    Unpacked Size

    402 kB

    Total Files

    305

    Last publish

    Collaborators

    • lui7henrique