Last active
May 24, 2016 01:18
-
-
Save 23Pstars/800993df96a9fd6ecf99796f189c735e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
set_time_limit( 0 ); | |
require_once( 'cURL.php' ); | |
require_once( 'GitHub.php' ); | |
require_once( 'Bitbucket.php' ); | |
/** Bitbucket credentials */ | |
$username = 'User'; | |
$password = 'password'; | |
$account_slug = 'user'; | |
$repo_slug = 'repo'; | |
/** / | |
$github = new GitHub( $username, $password, $account_slug, $repo_slug ); | |
$status = $github->_init()->get_status(); | |
/***/ | |
/** / | |
$bitbucket = new Bitbucket( $username, $password, $account_slug, $repo_slug ); | |
$status = $bitbucket->_init()->get_status(); | |
/***/ | |
//print_r( $status ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment