Get Team related information.
$team = new Bitbucket\API\Teams();
$team->setCredentials(new Http\Message\Authentication\BasicAuth($bb_user, $bb_pass));
$team->all($role);
Where $role
can be: member, contributor or admin
$team->profile($team_name);
$team->members($team_name);
$team->followers($team_name);
$team->following($team_name);
$team->repositories($team_name);