JorrinKievit / tmdb-js

A typesafe API wrapper for the TheMovieDatabase API for Node and the Web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tmdb-js

This is the monorepo for the tmdb-js-web and tmdb-js-node packages. Both packages are used to interact with the TMDB API. The tmdb-js-web package is used for web applications, and the tmdb-js-node package is used for Node.js applications. Both packages are fully-typed TypeScript wrappers for the TMDB API. Currently all endpoints are supported:

  • ✅ V3
    • ✅ Account
    • ✅ Authentication
    • ✅ Certifications
    • ✅ Changes
    • ✅ Collections
    • ✅ Companies
    • ✅ Configuration
    • ✅ Credits
    • ✅ Discover
    • ✅ Find
    • ✅ Genres
    • ✅ Guest sessions
    • ✅ Keywords
    • ✅ Lists
    • ✅ Movies
    • ✅ Networks
    • ✅ Trending
    • ✅ People
    • ✅ Reviews
    • ✅ Search
    • ✅ TV
    • ✅ TV Seasons
    • ✅ TV Episodes
    • ✅ TV Episode Groups
    • ✅ Watch Providers
  • ✅ V4
    • ✅ Account
    • ✅ Auth
    • ✅ List

Getting started

For documentation on how to use the tmdb-js-web and tmdb-js-node packages, please see the README files in the packages folder.

tmdb-js-web: README.md tmdb-js-node: README.md

Useful information

The tmdb-js-web package uses the Fetch API to make requests to the TMDB API. This means that the package is only supported in browsers that support the Fetch API. You can check browser support here.

The tmdb-js-node package uses the https module to make requests to the TMDB API. This means that the package is only supported in Node.js versions that support the https module. You can check Node.js support here.

The V4 endpoints require an access token. You can get an access token by following the instructions here.

Build

To build all apps and packages, run the following command:

pnpm run build

Develop

To develop all apps and packages, run the following command:

pnpm run dev

About

A typesafe API wrapper for the TheMovieDatabase API for Node and the Web


Languages

Language:TypeScript 99.8%Language:JavaScript 0.2%Language:Shell 0.0%