A Hubot-compatible BitBucket API wrapper for Node.js
Install
npm install hubucket
Require
Use it in your Hubot script:
= bitbucket = require'hubucket'robot
Or use it on its own:
bitbucket = require'hubucket'
Use
Make any call to the BitBucket v1.0 API, get the parsed JSON response:
bitbucketget 'repositories/pyro2927/evernote2box/events/' consolelog data
Authentication
If process.env.HUBOT_BITBUCKET_USER
and process.env.HUBOT_BITBUCKET_PASSWORD
are present, you're automatically authenticated. Sweet!