bitbucket api node wrapper
npm install node-bitbucket-apibitbucket api node wrapper
npm install node-bitbucket-api``javascript``
var bitbucket = require('node-bitbucket-api');
var client = bitbucket.createClient({
username: 'USER',
password: 'PWD'
});
var repository = client.getRepository({
slug: 'SLUG',
owner: 'OWNER'
}, function (err, repo) {
//Code to access the repo object.
});
- Thanks to hgarcia for bitbucket-api