# @joelhc/tmdb-ts

> TMDB v3 library wrapper

Latest version **0.0.23** (published 2022-10-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @joelhc/tmdb-ts
pnpm add @joelhc/tmdb-ts
yarn add @joelhc/tmdb-ts
bun add @joelhc/tmdb-ts
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.23 |
| Published | 2022-10-27 |
| First published | 2022-10-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 77.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Blake Joynes |
| Maintainers | joelhc |
| Keywords | tmdb, movies, database, api, typescript |

## Links

- npm: https://www.npmjs.com/package/@joelhc/tmdb-ts
- npm.io page: https://npm.io/package/@joelhc/tmdb-ts

## Dependencies (1)

- [cross-fetch](https://npm.io/package/cross-fetch.md) ^3.1.4

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.0.23 (latest) — 2022-10-27
- 0.0.22 — 2022-10-27
- 0.0.21 — 2022-10-27
- 0.0.20 — 2022-10-25
- 0.0.19 — 2022-10-25
- 0.0.18 — 2022-10-25
- 0.0.17 — 2022-10-25
- 0.0.16 — 2022-10-25
- 0.0.15 — 2022-10-14
- 0.0.14 — 2022-10-14
- 0.0.13 — 2022-10-14
- 0.0.12 — 2022-10-14
- 0.0.11 — 2022-10-13
- 0.0.10 — 2022-10-13

## README

# tmdb-ts


Typescript library wrapper of [TMDB API](https://developers.themoviedb.org/) v3 .


[![Version npm](https://img.shields.io/npm/v/tmdb-ts.svg?style=flat-square)](https://www.npmjs.com/package/tmdb-ts)[![npm Downloads](https://img.shields.io/npm/dm/tmdb-ts.svg?style=flat-square)](https://npmcharts.com/compare/tmdb-ts?minimal=true)

This uses new jwt authentication token for requests so there is no need to append api key to the url. 
Once you have registered for access to the api you can use your access token as follows:

Installation:
``
npm install --save tmdb-ts
``

```js
import TMDB from 'tmdb-ts';

const tmdb = new TMDB('accessToken');

try {
   const movies = await tmdb.search.movies({ query: 'American Pie' });
    console.log(movies);
} catch(err) {
   // handle error
}
```

---
_Source: https://npm.io/package/@joelhc/tmdb-ts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
