Socket
Socket
Sign inDemoInstall

hubucket

Package Overview
Dependencies
1
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubucket

Hubot-compatible BitBucket API wrapper for Node.js


Version published
Maintainers
1
Weekly downloads
2
Install size
82.8 kB

Weekly downloads

Readme

Source

A Hubot-compatible BitBucket API wrapper for Node.js

Install

npm install hubucket

Require

Use it in your Hubot script:

module.exports = (robot) ->
  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:

bitbucket.get 'repositories/pyro2927/evernote2box/events/' (data) ->
    console.log data

Authentication

If process.env.HUBOT_BITBUCKET_USER and process.env.HUBOT_BITBUCKET_PASSWORD are present, you're automatically authenticated. Sweet!

FAQs

Last updated on 17 Dec 2012

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc