Created
January 8, 2016 02:23
-
-
Save audstanley/0696ef7fdf4371f2598c to your computer and use it in GitHub Desktop.
A simple movie Query.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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