1.0.5 • Published 6 years ago

imdbapi v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

Gets something to watch from imdb.com.

Installation:


npm install imdbapi --save

Usage:


Requires a callback function.

The Callback will include:
  • HTTP response code
  • HTTP response message
  • The movie / show's IMDB page
  • The movie / show's name
  • The movie / show's poster (If there isn’t one it will just be a screenshot from the show)

Examples


const randomIMDB = require('imdbapi');
randomIMDB(console.log);

Will return

{
  rsp: {
    statusCode: 200,
    statusMessage: "OK"
  },
  url: 'http://www.imdb.com/title/tt1403981/',
  name: 'Remember Me (2010)',
  image: 'https://images-na.ssl-images-amazon.com/images/M/MV5BOTA4MTg1ODkwNF5BMl5BanBnXkFtZTcwMzE5ODAxMw@@._V1_UY1200_CR90,0,630,1200_AL_.jpg'
}
1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago