From ce5b51f637326ee90077783d7c4500c9323e4cbd Mon Sep 17 00:00:00 2001 From: Dan Zajdband Date: Mon, 29 Oct 2012 12:29:54 -0300 Subject: [PATCH] version 0.0.4 --- History.md | 7 +++++++ example.js | 12 +++++++----- package.json | 2 +- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/History.md b/History.md index 055865d..529bdce 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,10 @@ +0.0.4 / 2012-10-29 +================== + + * Added SSL support + * Updated dependencies + + 0.0.3 / 2012-08-20 ================== diff --git a/example.js b/example.js index 5f8efbd..c55bcb3 100644 --- a/example.js +++ b/example.js @@ -1,8 +1,10 @@ -var mdb = require('./lib/moviedb'); +var mdb = require('./lib/moviedb')('dc4940972c268b026150cf7be6f01d11'); -var m = new mdb('dc4940972c268b026150cf7be6f01d11'); - -m.searchMovie({query: 'alien'}, function(err, res){ +mdb.movieInfo({id: 11}, function(err, res){ + console.log('--------','popular'); + console.log(res); +}).miscPopularMovies({}, function(err, res){ console.log(err); - console.log(res); + console.log('--------','ninja'); + console.log(res); }); diff --git a/package.json b/package.json index 0aa57f4..35aa42c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name" : "moviedb" , "description" : "Library for interacting with themoviedb.com API" - , "version" : "0.0.3" + , "version" : "0.0.4" , "keywords" : ["themoviedb","api"] , "directories" : { "lib" : "./lib" } , "main" : "index.js"