ya-bitbucket
v0.0.9
Published
Yet another Node.js client library to interact with Atlassian Bitbucket. Designed to support the latest APIs bitbucket offers.
Downloads
5
Maintainers
Readme
Examples
bitbucket = new Bitbucket(
username: 'username'
password: 'password'
)
bitbucket.getRepositories { team: 'team' }, (err, res) ->
bitbucket.log err, res
bitbucket.createRepository {
team: 'team'
repo_slug: 'test'
}, (err, res) ->
bitbucket.log err, res
bitbucket.log err, res
bitbucket.deleteRepository {
team: 'team'
repo_slug: 'test'
}, (err, res) ->
bitbucket.log res
bitbucket.getRepository {
team: 'team'
repo_slug: 'test'
}, (err, res) ->
bitbucket.log res