npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@tdanks2000/tmdb-wrapper

v1.0.3

Published

<h1 align="center"> TMDB Api Wrapper </h1>

Downloads

4

Readme

The TMDB Api Wrapper simplifies the process of making API requests to The Movie Database (TMDb), a comprehensive database for movies and TV shows. It encapsulates functionality related to various API endpoints, such as account, certifications, changes, collections, configuration, credits, discover, find, genres, keywords, movies, people, reviews, search, trending, TV episodes, TV seasons, and TV shows. With this wrapper, developers can quickly integrate TMDB functionality into their TypeScript projects.

Table of Contents

Installation

To install the TMDB TypeScript Wrapper, follow these steps:

  1. Run the following command in your project directory:
// npm
npm install @tdanks2000/tmdb-wrapper
// yarn
yarn add @tdanks2000/tmdb-wrapper
// pnpm
pnpm i @tdanks2000/tmdb-wrapper
// bun
bun add @tdanks2000/tmdb-wrapper

Usage

To use the TMDB TypeScript API Wrapper in your TypeScript project, import the necessary classes and functions:

import { TMDB } from '@tdanks2000/tmdb-wrapper';

Then, create an instance of the TMDB class, optionally providing an access token. Access tokens can be obtained from TMDb API Settings under read access token.

const tmdb = new TMDB('YOUR_ACCESS_TOKEN');

You can now use the tmdb object to access various functionalities of the TMDB API. See the next section for details on available functionality.

Functionality

The TMDB Api Wrapper provides the following functionality:

Account

  • Manage account details and settings.

Certifications

  • Retrieve certification information for movies.

Changes

  • Get information about changes to the database.

Collections

  • Access information about movie collections.

Configuration

  • Retrieve configuration information for the API.

Credits

  • Get credits information for movies and TV shows.

Discover

  • Discover movies and TV shows based on various criteria.

Find

  • Find movies and TV shows by external IDs.

Genres

  • Retrieve information about movie and TV show genres.

Keywords

  • Access information about movie keywords.

Movies

  • Access information about movies.

People

  • Retrieve information about people involved in movies and TV shows.

Reviews

  • Get reviews for movies and TV shows.

Search

  • Search for movies, TV shows, and people.

Trending

  • Get trending movies and TV shows.

TV Episodes

  • Access information about TV show episodes.

TV Seasons

  • Access information about TV show seasons.

TV Shows

  • Access information about TV shows.

Contributing

Contributions are welcome! For bug reports, feature requests, or any other questions, please open an issue on the GitHub repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.

❤️

Reminder that you are great, you are enough, and your presence is valued. If you are struggling with your mental health, please reach out to someone you love and consult a professional. You are not alone.