PHP Bitbucket API

Simple Bitbucket API wrapper for PHP

Users

Get information related to an individual or team account.

Prepare:

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

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

$user->get($username);

Get the list of followers: (API 2.0)

$user->followers($username);

Get a list of accounts the user is following: (API 2.0)

$user->following($username);

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

$user->repositories($username);