|
@@ -10,7 +10,7 @@ A guide on how to use will come shortly!
|
|
|
|
|
|
Clone the repo. Set the `API_URL` and `API_TOKEN` in the index-file.
|
|
|
|
|
|
-```php
|
|
|
+```
|
|
|
|
|
|
$client = new \Client\GogsAPI(API_URL, API_TOKEN);
|
|
|
|
|
@@ -22,4 +22,5 @@ $repos = $me->get("/repos")->load();
|
|
|
// Loop through every repo
|
|
|
for($repo = $repos->current(); $repo != false; $repo = $repos->next())
|
|
|
var_dump($repo);
|
|
|
+```
|
|
|
|