This package has been deprecated

Author message:

Not maintained anymore

@absolunet/bitbucket-api

2.0.0 • Public • Published

@absolunet/bitbucket-api

npm npm dependencies Tests npms License: MIT

Bitbucket API wrapper via OAuth2

Authenticate to Bitbutcket APIv2 via OAuth2 then call API directly

Install

$ npm install @absolunet/bitbucket-api

Usage

import { BitbucketAPI } from '@absolunet/bitbucket-api';

const bitbucket = new BitbucketAPI({
	consumerKey:    'zyxwvutsrqponmlkji',
	consumerSecret: 'abcdefghijklmnopqrstuvwxyz012345'
});

const { data } = await bitbucket.get('/repositories/{uuid}/my-project/commits');
console.log(data);

const { ssh } = await bitbucket.repositories.getUserRepository('my-project');
console.log(`The ssh url to my project is: ${ssh}`);

Documentation

See the full documentation for an in-depth look.

See the Changelog to see what has changed.

Contribute

See the Contributing Guidelines for ways to get started.

See the Support Guide for ways to get help.

See the Security Policy for sharing vulnerability reports.

This project has a Code of Conduct. By interacting with this repository, organization, or community you agree to abide by its terms.

License

MIT © Absolunet

Package Sidebar

Install

npm i @absolunet/bitbucket-api

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

15.5 kB

Total Files

7

Last publish

Collaborators

  • valtech_commerce
  • absobot
  • jblandry