Search code examples
pythonpython-2.7bitbucketbitbucket-api

Get BitBucket users, groups, permissions


I am trying to write python script to get list of BitBucket users, groups and permissions to repositories. Can someone provide an example how to do this using python?


Solution

  • I have used pure BitBucket rest api. Use endpoint like /api/1.0/privileges/{project.name} and pase json. Everything works fine.