Skip to content

Commit d06ac0c

Browse files
authored
Merge pull request #1 from lostcarpark/lostcarpark-patch-readme-examples
Updatge README.md with additional examples
2 parents 2912bfb + 3f7affc commit d06ac0c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,12 @@ $client->authenticate('your_http_token', Gitlab\Client::AUTH_HTTP_TOKEN);
6060
$client = new Gitlab\Client();
6161
$client->authenticate('your_oauth_token', Gitlab\Client::AUTH_OAUTH_TOKEN);
6262

63-
// An example API call
63+
// Example API calls
64+
65+
// Get project summary
66+
$repo = $client->projects()->show('vendor/project');
67+
68+
// Create a new project
6469
$project = $client->projects()->create('My Project', [
6570
'description' => 'This is a project',
6671
'issues_enabled' => false,

0 commit comments

Comments
 (0)