Skip to content

Commit d092f10

Browse files
author
Karin van den Berg
committed
Update docs
1 parent 3bff763 commit d092f10

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

doc/organization.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,22 @@ Additional APIs:
77
* [Members API](organization/members.md)
88
* [Teams API](organization/teams.md)
99

10+
11+
Wraps [GitHub Issues API](https://developer.github.com/v3/issues/).
12+
13+
### List issues in an organization
14+
15+
```php
16+
$issues = $client->api('orgs')->issues('KnpLabs', 'php-github-api', array('state' => 'open'));
17+
```
18+
You can specify the page number:
19+
20+
```php
21+
$issues = $client->api('orgs')->issues('KnpLabs', 'php-github-api', array('state' => 'open'), 2);
22+
```
23+
24+
Returns an array of issues.
25+
26+
27+
1028
To be written...

0 commit comments

Comments
 (0)