17 lines
456 B
Python
17 lines
456 B
Python
from atlassian import Bitbucket
|
|
from jira import JIRA
|
|
|
|
host = "https://bitbucket.wien.gv.at/"
|
|
pat = "OTAyMTM3MjY0MjE0Ovz6bu0ti1TlEdSegmmiWiJ2wGeD"
|
|
|
|
# Initialize Bitbucket instance
|
|
#TODO Use token for authentication
|
|
bitbucket = Bitbucket(
|
|
url=host,
|
|
username='zim9003', # Assuming you need authentication
|
|
password='3S1punk08_113$', # Use token for authentication
|
|
)
|
|
|
|
repos = bitbucket.repo_list('BAUWB')
|
|
for repo in repos:
|
|
print(repo) |