PHP Bitbucket API

Simple Bitbucket API wrapper for PHP

Users account

This resource returns a user structure and the repositories array associated with an existing account.

Prepare:

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

Get the account profile:

$users->account()->profile($account_name);

Get the account plan:

$users->account()->plan($account_name);

Get the followers of an account:

$users->account()->followers($account_name);

Gets a count and the list of events associated with an account:

$users->account()->events($account_name);