0.2.12 • Published 2 years ago

moviedb v0.2.12

Weekly downloads
158
License
MIT
Repository
github
Last release
2 years ago

MovieDB

Build Status NPM version Dependency Status npm

Deprecation notice: This package is no longer maintained. Please use the moviedb-promise package.

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

Installation

npm install moviedb --save

Usage

Require MovieDB and provide your themoviedb.org API KEY

const MovieDB = require('moviedb')('your api key');

Use the api methods as you want, for example:

mdb.searchMovie({ query: 'Alien' }, (err, res) => {
  console.log(res);
});

or

mdb.movieInfo({ id: 666}, (err, res) => {
  console.log(res);
});

now you can also make chain calls

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

0.2.12

2 years ago

0.2.10

7 years ago

0.2.9

7 years ago

0.2.8

7 years ago

0.2.7

8 years ago

0.2.6

8 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago