# km-moviedb

> Library for interacting with themoviedb.com API

Latest version **0.2.14** (published 2019-10-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install km-moviedb
pnpm add km-moviedb
yarn add km-moviedb
bun add km-moviedb
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.14 |
| Published | 2019-10-14 |
| First published | 2018-10-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 83.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Dan Zajdband |
| Maintainers | kevinmidboe |
| Keywords | themoviedb, api, tmdb |

## Links

- npm: https://www.npmjs.com/package/km-moviedb
- Repository: https://github.com/kevinmidboe/moviedb
- Homepage: https://github.com/kevinmidboe/moviedb#readme
- Issues: https://github.com/kevinmidboe/moviedb/issues
- npm.io page: https://npm.io/package/km-moviedb

## Dependencies (1)

- [superagent](https://npm.io/package/superagent.md) 3.8.2

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 0.2.14 (latest) — 2019-10-14
- 0.2.13 — 2018-10-25
- 0.2.12 — 2018-10-25
- 0.2.11 — 2018-10-25

## README

MovieDB
=======
[![Build Status](https://travis-ci.org/KevinMidboe/moviedb.svg?branch=master)](https://travis-ci.org/KevinMidboe/moviedb)
[![NPM version](https://badge.fury.io/js/km-moviedb.svg)](http://badge.fury.io/js/km-moviedb)
[![Known Vulnerabilities](https://snyk.io/test/github/KevinMidboe/moviedb/badge.svg?targetFile=package.json)](https://snyk.io/test/github/KevinMidboe/moviedb?targetFile=package.json)
[![npm](https://img.shields.io/npm/dm/km-moviedb.svg?maxAge=2592000)]()

node.js library that makes the interaction with themoviedb.org V3 API easy.

## Installation
```bash
npm install moviedb --save
```
## Usage

Require MovieDB and provide your themoviedb.org API KEY
```js
const MovieDB = require('moviedb')('your api key');
```
Use the api methods as you want, for example:
```js
mdb.searchMovie({ query: 'Alien' }, (err, res) => {
  console.log(res);
});
```
or
```js
mdb.movieInfo({ id: 666}, (err, res) => {
  console.log(res);
});
```
now you can also make chain calls
```js
mdb
  .searchMovie({ query: 'Zoolander' }, (err, res) => {
    console.log(res);
  })
  .movieInfo({ id: 123 }, (err, res) => {
    console.log(res);
  });
```
## Available methods

All themoviedb.org API v3 methods included. Endpoint methods are included on [a wiki page](https://github.com/impronunciable/moviedb/wiki/Library-endpoints)

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