Tentacat v0.7.2 Tentacat.Users.Starring
Summary
Functions
Star a given repository
List starred repositories for the authenticated user
List starred repositories for given user
Check if authenticated user is starred given repository
Unstar a given repository
Functions
Specs
star(binary, binary, Tentacat.Client.t) ::
true |
Tentacat.response
Star a given repository.
Example
Tentacat.Users.Starring.star "elixir-lang", "elixir", client
More info at: https://developer.github.com/v3/activity/starring/#star-a-repository
Specs
starred(Tentacat.Client.t) :: Tentacat.response
List starred repositories for the authenticated user
Example
Tentacat.Users.Starring.starred client
More info at: https://developer.github.com/v3/activity/starring/#list-repositories-being-starred
Specs
starred(binary, Tentacat.Client.t) :: Tentacat.response
List starred repositories for given user
Example
Tentacat.Users.Starring.starred "edgurgel", client
More info at: https://developer.github.com/v3/activity/starring/#list-repositories-being-starred
Specs
starred?(binary, binary, Tentacat.Client.t) ::
boolean |
Tentacat.response
Check if authenticated user is starred given repository.
Example
Tentacat.Users.Starring.starred? "elixir-lang", "elixir", client
More info at: https://developer.github.com/v3/activity/starring/#check-if-you-are-starring-a-repository
Specs
unstar(binary, binary, Tentacat.Client.t) ::
true |
Tentacat.response
Unstar a given repository.
Example
Tentacat.Users.Starring.unstar "elixir-lang", "elixir", client
More info at: https://developer.github.com/v3/activity/starring/#unstar-a-repository