2017 © Pedro Peláez
 

library bitbucket-api

API provider for Bitbucket.org

image

rbayliss/bitbucket-api

API provider for Bitbucket.org

  • Sunday, January 25, 2015
  • by rbayliss
  • Repository
  • 0 Watchers
  • 0 Stars
  • 2 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PHP Bitbucket API Client

This library implements the Bitbucket V2 API using the Guzzle HTTP library., (*1)

It does not currently attempt to implement any of the V1 features., (*2)

Usage:

#!php
// Access the Bitbucket APIs without authentication
$api = new \rbayliss\BitbucketAPI\Bitbucket();

// Access the APIs using username/password authentication:
$api = new \rbayliss\BitbucketAPI\Bitbucket([
  'login' => [
    'yourusername',
    'yourpassword',
  ]
]);

// Access the APIs using OAuth authentication:
$api = new \rbayliss\BitbucketAPI\Bitbucket([
  'oauth' => [
    'key' => 'YOURKEY',
    'secret' => 'YOURSECRET',
  ]
]);

This project implements all of the V2 Bitbucket endpoints. Those endpoints are:, (*3)

  • Users - $api->users()
  • Teams - $api->teams()
  • Repositories - $api->repositories()
  • Commits - $api->commits()
  • Branch Restrictions - $api->branchRestrictions()

The Versions

25/01 2015

dev-master

9999999-dev

API provider for Bitbucket.org

  Sources   Download

MIT

The Requires

 

The Development Requires

25/01 2015