Client
class Client extends Client
Properties
protected | $api_url | from Client | |
protected Curl | $curl | from Client |
Methods
Details
in Client at line 19
__construct(Curl $curl, string $api_url)
in Client at line 32
array|mixed
getUserInfo(bool $raw = false, string $username = null)
获取当前登录用户或指定用户的基本信息.
in Client at line 63
mixed
getRepos(int $page = 1, bool $raw = false, string $username = null)
获取当前用户或指定用户名下所有的仓库列表(包括组织中的列表).
in Client at line 83
mixed
listOrgs()
获取用户名下组织列表.