Skip to content

Commit bfa7e5a

Browse files
committed
update readme
1 parent 751b391 commit bfa7e5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ $ php composer.phar require kbsali/redmine-api:1.*
7171
require_once 'vendor/autoload.php';
7272

7373
$client = new Redmine\Client('http://redmine.example.com', 'API_ACCESS_KEY');
74+
//-- OR --
75+
$client = new Redmine\Client('http://redmine.example.com', 'username', 'password');
7476

7577
$client->api('user')->all();
7678
$client->api('user')->listing();

0 commit comments

Comments
 (0)