Skip to main content

Easily Integrate
Bitbucket's API using Konfig's TypeScript SDK

Need a TypeScript SDK for Bitbucket's API?

Growing API Companies trust Konfig's SDKs to onboard developers to their API.

SnapTradeHumanloopSplititLeapGroundx

First, instantiate the SDK

It only takes a few lines of code.

index.ts

import { Bitbucket } from 'bitbucket-typescript-sdk';
const bitbucket = new Bitbucket({
// Basic HTTP Authentication as per [RFC-2617](https://tools.ietf.org/html/rfc2617) (Digest not supported). Note that Basic Auth is available only with username and app password as credentials.
username: "USERNAME",
password: "PASSWORD",
// OAuth 2 as per [RFC-6749](https://tools.ietf.org/html/rfc6749).
clientId: "CLIENT_ID",
clientSecret: "CLIENT_SECRET",
redirectUri: "REDIRECT_URI",
// API Keys can be used as Basic HTTP Authentication credentials and provide a substitute for the account's actual username and password. API Keys are only available to team accounts and there is only 1 key per account. API Keys do not support scopes and have therefore access to all contents of the account.
apiKey: "AUTHORIZATION"
})

Then, send your first request

We made it really easy.

index.ts

// Delete an app
const deleteUserAppResponse = bitbucket.addon.deleteUserApp()

Enjoy a buttery smooth developer experience with 318 SDK methods

How Konfig Works

Konfig collects APIs and automatically generates SDKs so you can focus on building your application.

openapi-examples

Konfig maintains the highest quality collection of OpenAPI Specifications on the internet in a GitHub repository

We pull OpenAPI Specifications from public sources, fix any errors, and make sure they pass our lint rules. We continually make sure the repository is up-to-date and collect up-time and response time metrics for every API.

openapi-examples-to-konfig

Generates AI-Augmented SDKs from openapi-examples

Our SDK generator is trusted by growing API companies and goes through a rigorous testing process to ensure the generated SDKs are high-quality and easy to use.

konfig-to-package-managers

Publishes to standard package managers

We publish to standard package managers like npm, PyPI, and Maven so you can easily integrate the SDK into your application.

Bitbucket

About Bitbucket

Bitbucket offers Git and Mercurial based source code management and collaboration solutions in the cloud.

Keywords

version_control

Start integrating Bitbucket's API with Konfig