In our company, we use bitbucket.org cloud product and I am using the following snippet to connect to it.
from atlassian import Bitbucket
def bitbucketHelp():
bitbucket = Bitbucket(
url='https://bitbucket.org',
username='testuser@mycompany.com',
password='testpassword')
This does not seem to work. I get the following error.
raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://bitbucket.org/api/2.0/projects
Am I doing something wrong ? I don't see any examples of how to connect to bitbucket cloud product.