I am attempting to access the bitbucket cloud REST api with the python requests module to list pull requests using an app password.
Docs at https://developer.atlassian.com/cloud/bitbucket/rest/intro/#basic-auth state the following regarding app passwords:
> Basic HTTP Authentication as per RFC-2617 (Digest not supported). Note that Basic Auth is available only with username and app password as credentials.
> - You can use them for API call authentication, even if you don't have two-step verification enabled.
I am unable to find any examples of how the app password is used. Since I am reduced to guessing, I have tried:
1. the basic auth pattern using my username and the app password, which throws a deprecation warning
2. using the app password as an api token, which gives me a "token expired" message
Is there an example somewhere?