mirror of
https://github.com/KevinMidboe/moviedb.git
synced 2025-10-29 01:30:26 +00:00
publish 0.0.1
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
node_modules
|
||||
example.js
|
||||
1
.npmignore
Normal file
1
.npmignore
Normal file
@@ -0,0 +1 @@
|
||||
example.js
|
||||
@@ -1,7 +1,8 @@
|
||||
var mdb = require('./lib/moviedb');
|
||||
|
||||
var m = new mdb('yout api key');
|
||||
var m = new mdb('dc4940972c268b026150cf7be6f01d11');
|
||||
|
||||
m.searchMovie({query: 'alien'}, function(err, res){
|
||||
console.log(err);
|
||||
console.log(res);
|
||||
});
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
{
|
||||
"name" : "moviedb"
|
||||
, "description" : "Library for interacting with themoviedb.com API"
|
||||
, "version" : "0.0.1"
|
||||
, "keywords" : ["themoviedb","api"]
|
||||
, "directories" : { "lib" : "./lib" }
|
||||
, "main" : "index.js"
|
||||
, "author" : "Dan Zajdband <dan.zajdband@gmail.com>"
|
||||
, "dependencies" : {
|
||||
"superagent" : "0.4.x"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user