Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 661 Bytes

users.md

File metadata and controls

28 lines (21 loc) · 661 Bytes

Users

Get information related to an individual or team account.

Prepare:

$user = new Bitbucket\API\Users();
$user->setCredentials(new Http\Message\Authentication\BasicAuth($bb_user, $bb_pass));

Get the public information associated with a user: (API 2.0)

$user->get($username);

Get the list of the user's repositories: (API 2.0)

$user->repositories($username);

Related: