-
Notifications
You must be signed in to change notification settings - Fork 10
Repositories
Hounddog edited this page Nov 3, 2012
·
1 revision
##List user repositories List public repositories for the specified user.
$client->api('repos')->show($user, $repo, $params);
```
###Parameters
* type
* `all`, `owner`, `public`, `private`, `member`. Default: `all`.
* sort
* `created`, `updated`, `pushed`, `full_name`, default: full_name`
* direction
* `asc` or `desc`, default: when using full_name: `asc`, `otherwise desc`
* per_page
* default: `30`
* page
* default: `1`
##Get contents
This method returns the contents of any file or directory in a repository.
````php
$client->api('repos')->show($owner, $repo, $path);
```