atomita/backlog-v2

this is backlog api v2 library

v0.0.3 2018-03-12 09:08 UTC

This package is not auto-updated.

Last update: 2024-04-12 10:27:48 UTC


README

this is backlog api v2 wrapper with API Key.

Get started

Install the "atomita/backlog-v2" using the composer.

require {composer install dir} . "/vendor/autoload.php";

use \atomita\Backlog;
use \atomita\BacklogException;

$backlog = new Backlog('space-name', 'api-key');
try{
    $space = $backlog->space->get();
    var_dump($space);

    $comment = $backlog->issues->param('issue id')->comments->post(['content' => 'comment message']));
    var_dump($comment);
}
catch(BacklogException $e){
    // error
}

This is released under the LGPLv3, see LICENSE.