License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
The repo starring API as described on https://developer.github.com/v3/activity/starring/.
Synopsis
- stargazersFor :: Maybe Auth -> Name Owner -> Name Repo -> IO (Either Error (Vector SimpleUser))
- stargazersForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector SimpleUser)
- reposStarredBy :: Maybe Auth -> Name Owner -> IO (Either Error (Vector Repo))
- reposStarredByR :: Name Owner -> FetchCount -> Request k (Vector Repo)
- myStarred :: Auth -> IO (Either Error (Vector Repo))
- myStarredR :: FetchCount -> Request RA (Vector Repo)
- myStarredAcceptStar :: Auth -> IO (Either Error (Vector RepoStarred))
- myStarredAcceptStarR :: FetchCount -> GenRequest MtStar RA (Vector RepoStarred)
- starRepo :: Auth -> Name Owner -> Name Repo -> IO (Either Error ())
- starRepoR :: Name Owner -> Name Repo -> GenRequest MtUnit RW ()
- unstarRepo :: Auth -> Name Owner -> Name Repo -> IO (Either Error ())
- unstarRepoR :: Name Owner -> Name Repo -> GenRequest MtUnit RW ()
- module GitHub.Data
Documentation
stargazersFor :: Maybe Auth -> Name Owner -> Name Repo -> IO (Either Error (Vector SimpleUser)) Source #
The list of users that have starred the specified Github repo.
userInfoFor' Nothing "mike-burns"
stargazersForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector SimpleUser) Source #
List Stargazers. See https://developer.github.com/v3/activity/starring/#list-stargazers
reposStarredBy :: Maybe Auth -> Name Owner -> IO (Either Error (Vector Repo)) Source #
All the public repos starred by the specified user.
reposStarredBy Nothing "croaky"
reposStarredByR :: Name Owner -> FetchCount -> Request k (Vector Repo) Source #
List repositories being starred. See https://developer.github.com/v3/activity/starring/#list-repositories-being-starred
myStarred :: Auth -> IO (Either Error (Vector Repo)) Source #
All the repos starred by the authenticated user.
myStarredR :: FetchCount -> Request RA (Vector Repo) Source #
All the repos starred by the authenticated user. See https://developer.github.com/v3/activity/starring/#list-repositories-being-starred
myStarredAcceptStar :: Auth -> IO (Either Error (Vector RepoStarred)) Source #
All the repos starred by the authenticated user.
myStarredAcceptStarR :: FetchCount -> GenRequest MtStar RA (Vector RepoStarred) Source #
All the repos starred by the authenticated user. See https://developer.github.com/v3/activity/starring/#alternative-response-with-star-creation-timestamps-1
starRepo :: Auth -> Name Owner -> Name Repo -> IO (Either Error ()) Source #
Star a repo by the authenticated user.
starRepoR :: Name Owner -> Name Repo -> GenRequest MtUnit RW () Source #
Star a repo by the authenticated user. See https://developer.github.com/v3/activity/starring/#star-a-repository
unstarRepo :: Auth -> Name Owner -> Name Repo -> IO (Either Error ()) Source #
Unstar a repo by the authenticated user.
unstarRepoR :: Name Owner -> Name Repo -> GenRequest MtUnit RW () Source #
Unstar a repo by the authenticated user. See https://developer.github.com/v3/activity/starring/#unstar-a-repository
module GitHub.Data