Created
November 16, 2011 11:21
-
-
Save riaf/1369861 to your computer and use it in GitHub Desktop.
This file contains 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 | |
require_once '/path/to/selfish/src/Selfish/Loader.php'; | |
Selfish\Loader::register(); | |
use Selfish\Service\Redmine\Connection; | |
use Selfish\Service\Redmine\Issues; | |
$redmine_connection = new Connection('http://redmine.example.com/'); | |
$redmine_connection->setApiKey('redmine-api-access-token'); | |
// $redmine_connection->setBasicAuth('member', 'password'); | |
$issues = new Issues($redmine_connection); | |
// $response = $issues->listing(array('assigned_to_id' => 'me')); | |
$response = $issues->show(123); | |
var_dump($response); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment