Git Product home page Git Product logo

nicklusk / movie-year-released-imdb-api-demo Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 3.09 MB

One pager that demos the imdb-api npm module by taking a movie title submission from the user and returning the year that movie was made. Probably. It might also return the year that something with a syntactically similar title was made.

License: Apache License 2.0

JavaScript 7.31% CSS 90.98% HTML 1.71%

movie-year-released-imdb-api-demo's Introduction

What year was a movie released?

One pager that demos the imdb-api npm module by taking a movie title submission from the user and returning the year that movie was made.

Probably.

It might also return the year that something with a syntactically similar title was made.

The NPM package used here is the imdb-api, which is an unofficial API that taps the shoulder of another unofficial API.

I also modified one_page_template_nodejs in order to have a simple nodejs page to start from. It uses Express, which I'm not exactly familiar with, and it seems to be cacheing very aggressively. So you might want to run it in an incognito window.

Installation

  1. node.js install

Usage

Type in the name of a movie in the search box/input field. Click the button, or press enter, and the year of that movie's release will be fetched and displayed. Unless you spelled something wrong. Another use for this tool would be to check if the title of that screenplay you're working on has already been used. If it throws an error then you're in luck, at least you know the title of your movie is original, or misspelled.

Run npm

The package.json file includes what you'll need, but to be clear, you will need these two NPM packages:

imdb-api

body-parser

  1. npm install --save imdb-api

  2. npm install --save body-parser

  3. npm install

Run node

  1. node app

  2. http://localhost:8888

movie-year-released-imdb-api-demo's People

Stargazers

Roman avatar

Watchers

James Cloos avatar Nick Lusk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.