Skip to main content

pybitbucketapi facilitates the usage of bitbucket apis inside a python module or in command line

Project description

pybitbucketapi

pybitbucketapi contains some functions to facilitate the usage of bitbucket apis inside python modules or in command line.

The source for this project is available here.


Example of importing bitbucketapi inside a python module :

import os
from pygitlabapi import gitlabApi

iurl = "https://gitlab.com/api/v4"
ijson = "project.json"
imethod="POST"
iapi = "/projects"
iuser= os.environ.get("GITLAB_USER")
itoken = os.environ.get("GITLAB_TOKEN")
message= gitlabApi.rungitlabApi(api=iapi, method=imethod, url=iurl, user=iuser, token=itoken, json=ijson )
print(message)

Release notes

1.0.0 Initial version

1.0.1 Managing http error codes

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pybitbucketapi-1.0.1.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

pybitbucketapi-1.0.1-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page