StarringClient
class StarringClient
Traits
Properties
protected | $curl | from CICommon | |
protected | $api_url | from CICommon |
Methods
mixed
list(string $repo_full_name)
List Stargazers.
mixed
listRepositoriesBeingStarred(string $username = null, string $sort = 'created', string $direction = 'desc')
List repositories being starred.
bool
checkStarringRepository(string $repo_full_name)
Check if you are starring a repository.
void
star(string $repo_full_name)
Star a repository.
void
unstar(string $repo_full_name)
Unstar a repository.
Details
in CICommon at line 18
__construct(Curl $curl, string $api_url)
CICommon constructor.
at line 20
mixed
list(string $repo_full_name)
List Stargazers.
at line 35
mixed
listRepositoriesBeingStarred(string $username = null, string $sort = 'created', string $direction = 'desc')
List repositories being starred.
at line 58
bool
checkStarringRepository(string $repo_full_name)
Check if you are starring a repository.
204 404
at line 82
void
star(string $repo_full_name)
Star a repository.
204
at line 94
void
unstar(string $repo_full_name)
Unstar a repository.
204