Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

name-to-imdb

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

name-to-imdb

Finds IMDB ID by movie/series name (fuzzily) and optionally year and type

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
53
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

name-to-imdb

Map names of movies/series to IMDB IDs

npm install name-to-imdb

Usage: nameToImdb(args, callback)

args - string of the name or object with name/year/type - { name: "The Devil Bat", year: 1940, type: "movie" }

Example

var nameToImdb = require("name-to-imdb");
nameToImdb({ name: "south park" }, function(err, res, inf) { 
	console.log(res); // prints "tt0121955"
	console.log(inf); // inf contains info on where we matched that name - e.g. locally, or on google
})

Names dataset

The dataset of movie/series names is exported from Stremio's Cinemeta api and generated in names-dataset.json. This has to be updated from time to time.

Keywords

FAQs

Package last updated on 26 Nov 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc