I need a way to get a list of all repositories, via Python, that my account can access. Is there a way to do something like this?
Hi @lpetrinsak ,
You can use stashy
bitbucket = stashy.connect(host, user, password)projects = bitbucket.projects.list()for project in projects: for repo in bitbucket.projects["%s" %(project["key"])].repos.list(): print(repo)
Ah great! Thank you very much! Is it possible to acquire a list of "items" that are located in a particular repository?
Nvm, found a way, thank you!
Do we have Pull request with stashy @Edwin Kyalangalilwa @lpetrinsak
Open source and actively maintained as of Dec 2022: https://pypi.org/project/atlassian-python-api/ (note that this project is not maintained by Atlassian)
It looks like you're new here. Sign in or register to get started.