Skip to content

Instantly share code, notes, and snippets.

@audstanley
Created January 8, 2016 02:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save audstanley/0696ef7fdf4371f2598c to your computer and use it in GitHub Desktop.
Save audstanley/0696ef7fdf4371f2598c to your computer and use it in GitHub Desktop.
A simple movie Query.
function getMovie(movieData) {
var movie = require('node-movie');
movie('Alien', '1979', function (err, data) {
console.log(data.Poster);
//res.send(data.Poster);
return movieData = data;
});
}
process.nextTick(getMovie);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment