Repositories
The repositories namespace has a number of resources you can use to manage repository. The following resources are available on repositories:
Prepare:
$repositories = new Bitbucket\API\Repositories();
$repositories->setCredentials( new Bitbucket\API\Authentication\Basic($bb_user, $bb_pass) );
Get a list of repositories for an account:
If the caller is properly authenticated and authorized, this method returns a collection containing public and private repositories.
$repositories->all($account_name);
Get a list of all public repositories:
Only public repositories are returned.
$repositories->all();