New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.0.3
Source
npm
Version published
Weekly downloads
30
20%
Maintainers
0
Weekly downloads
 
Created
Source

TMDB TypeScript Library

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.

FAQs

Package last updated on 11 Nov 2024

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