Teams
Get Team related information.
Prepare:
$team = new Bitbucket\API\Teams();
$team->setCredentials( new Bitbucket\API\Authentication\Basic($bb_user, $bb_pass) );
Get the team profile: (API 2.0)
$team->profile($team_name);
Get the team members: (API 2.0)
$team->members($team_name);
Get the team followers: (API 2.0)
$team->followers($team_name);
Get a list of accounts the team is following: (API 2.0)
$team->following($team_name);
Get the team's repositories: (API 2.0)
$team->repositories($team_name);